-
Notifications
You must be signed in to change notification settings - Fork 483
[API] Add Enabled method to Tracer #3357
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 #3357 +/- ##
==========================================
+ Coverage 89.56% 89.57% +0.01%
==========================================
Files 210 210
Lines 6502 6505 +3
==========================================
+ Hits 5823 5826 +3
Misses 679 679
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks
Fixes #3149
Changes
Adds a method to Tracer (ABI version >= 2) that allows the user to check if the tracer is enabled or not. A disabled tracer does not produce spans.
This change enhances tracer spec-compatibility.
For significant contributions please make sure you have completed the following items:
CHANGELOG.md
updated for non-trivial changes