Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How is validation implemented for instrumentations? #36

Open
codeboten opened this issue Jan 9, 2023 · 2 comments
Open

How is validation implemented for instrumentations? #36

codeboten opened this issue Jan 9, 2023 · 2 comments

Comments

@codeboten
Copy link
Collaborator

Instrumentations may need to define their own configuration options and validations. How can this be included? Should this just be a known limitation for this OTEP?

@codeboten
Copy link
Collaborator Author

After a follow up discussion, this is true for any custom component. For example a custom exporter may need to run its own validation on the configuration. The question is what does this look like for any component? Is there a generic Validateable interface that should be defined here?

@srikanthccv
Copy link
Contributor

Can we say that optional components can register some validation callback or something with the SDK, and SDK will invoke that function while validating components known to it; otherwise, no validation will be performed for custom components?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants