-
Notifications
You must be signed in to change notification settings - Fork 443
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
[SDK] Support OTEL_SDK_DISABLED environment variable #1631
Comments
This issue was marked as stale due to lack of activity. |
This issue is available for anyone to work on. Make sure to reference this issue in your pull request. |
Is this available to be worked on @marcalff ? |
If no one is working on this, could I take it up? Feel free to assign it to me. @marcalff |
Thanks, does anyone have any suggestions on getting started with resolving this issue? |
One approach could be to introduce an |
Sounds good. Do you know which files I should focus on editing/where I can find them? |
tracer_provider.cc/h under sdk directory. And similarly logger_provider/meter_provider. |
Got it, thank you! |
Would I access the |
You should be using the cross-platform api to access the env variable -
|
The SDK spec recently added a new environment variable, OTEL_SDK_DISABLED
See open-telemetry/opentelemetry-specification#2679
Implement support for OTEL_SDK_DISABLED, for all signals.
The text was updated successfully, but these errors were encountered: