[SDK] Support OTEL_SDK_DISABLED environment variable#3245
[SDK] Support OTEL_SDK_DISABLED environment variable#3245marcalff merged 22 commits intoopen-telemetry:mainfrom
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.mdupdated for non-trivial changes