-
Notifications
You must be signed in to change notification settings - Fork 483
[SDK] Support OTEL_SDK_DISABLED environment variable #3245
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
Conversation
✅ Deploy Preview for opentelemetry-cpp-api-docs canceled.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3245 +/- ##
==========================================
+ Coverage 87.92% 87.96% +0.04%
==========================================
Files 201 205 +4
Lines 6386 6407 +21
==========================================
+ Hits 5614 5635 +21
Misses 772 772
|
@marcalff Thanks for the PR. Just a thought—rather than including set-provider methods in the SDK that check for the |
Thanks for the suggestion. I considered it as well, but decided against it for the following reasons:
As a result, the current proposal:
As for environment variables changing during the process execution, In my understanding, |
Thanks @marcalff for explanation. The changes look good to me - just a comment regarding removal of API provided methods. |
Fixes #1631
Changes
Please provide a brief description of the changes here.
For significant contributions please make sure you have completed the following items:
CHANGELOG.md
updated for non-trivial changes