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

Document known limitations in otep #30

Open
codeboten opened this issue Dec 12, 2022 · 1 comment
Open

Document known limitations in otep #30

codeboten opened this issue Dec 12, 2022 · 1 comment

Comments

@codeboten
Copy link
Collaborator

Important to call out some of the limitations for configuration, a couple of limitations we may want to call out:

  1. multiple tracer/meter/logger providers are not supported (it would be really difficult to specify the correct provider in the config and in the code)
  2. custom context propagators are not supported (there's no way to provide custom context extraction code via configuration)
@jack-berg
Copy link
Collaborator

multiple tracer/meter/logger providers are not supported (it would be really difficult to specify the correct provider in the config and in the code)

I think language SDKs should eventually have a component responsible for parsing a config file and returning a fully configured SDK instance (or throwing if the config is invalid). Most applications will want to invoke the code to parse a config file once, but it seems reasonable to also allow invoking the code multiple times. If used multiple times, the caller must be responsible for passing each configured SDK to the appropriate part of the application.

So you can parse multiple config files, but each contains the config for one SDK (i.e. one tracer/meter/logger provider).

custom context propagators are not supported (there's no way to provide custom context extraction code via configuration)

Java has a mechanism for this today. You can implement the ConfigurablePropagatorProvider interface, and reference the name in the OTEL_PROPAGATORS environment variable. We have similar mechanisms available for providing other custom extension components like exporters.

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