-
Notifications
You must be signed in to change notification settings - Fork 821
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
Exporter environment configuration #1676
Comments
Moving the discussion over here (started by @jtmalinowski here):
I agree with that, i would like to add that if we want to support other exporters we would need to bring them as dependencies for sdk which seems quite negative in terms of dependencies size:
I would be in favor of only supporting the |
I'll also add that the spec doesn't specify which span processor should be configured (even though it defines batch processor's configuration) so i assumes it should be the batch ? |
Requested clarification from the spec: open-telemetry/opentelemetry-specification#1622 However it seems that Ruby just check if dependency are installed (https://github.com/open-telemetry/opentelemetry-ruby/pull/604/files#diff-e6a05d2b9d8d72a4c1ab589e75a9aa34e484e073af6443d428929c0c554f93eaR201), it would be easily be possible for the node SDK (harder for the browser though) with optional dependencies, WDYT ? |
Just an opinion but I like supporting |
I agree that dynamically configuring the exporter in the browser seems like extremely questionable value. |
not sure if this is already not too late, but I was proposing long time ago we split each exporter into at least 2 things, "converter" and "transporter" with exporter collector it will happened quite soon - the function for converting will be exported into new package right ?. I can imagine we could have some builder pattern that could build the exporter pipeline like this.
|
This seems like a big change for limited value since most exporters have 1 preferred transport |
Co-authored-by: Bartlomiej Obecny <[email protected]> Co-authored-by: Daniel Dyla <[email protected]>
Implement the environment variable specification for exporter configuration.
Please use the
getEnv('NAME')
function exported by core instead of directly usingprocess.env.NAME
.Spec: https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/sdk-environment-variables.md#exporter-selection
The text was updated successfully, but these errors were encountered: