-
Notifications
You must be signed in to change notification settings - Fork 652
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
Add support for OTEL_LOG_LEVEL env var #1069
Conversation
4361aa7
to
b7954b6
Compare
Allows user to configure tracer's sampling probability via an env var. Uses parentOrElse sampler with a probability sampler delegate when setting OTEL_SAMPLING_PROBABILITY Defaults to AlwaysOnSampler when unset or set to 1. Signed-off-by: Naseem <naseem@transit.app>
@ffe4 |
@lzchen there wasn't much discussion in the specs issue for clarifying the allowed env var values open-telemetry/opentelemetry-specification#920 and it has been marked for after GA. The issue does not have the |
@ffe4 |
@lzchen I'll have a look once the spec issue is resolved, but it might make sense to just close this PR for now and post updates to the issue instead. |
Closing for now. |
@lzchen why did you close ? |
From the above comment:
|
can we re open it ? |
Depending on if @ffe4 would like to continue to work on this, we can reopen this pr. |
@lzchen Not sure about the details of this anymore, but I've noticed that the spec issue is still open. I can take a look over the weekend to see whether this PR might still be useful. |
@lzchen the structure of the codebase has changed quite a bit, so I don't think reopening this PR makes sense. I've also posted an update on the issue. |
Description
Adds support for configuring the SDK log level using the
OTEL_LOG_LEVEL
environment variable.Fixes #1059
Type of change
Checklist: