-
Notifications
You must be signed in to change notification settings - Fork 512
[SDK] Reset TraceFlags::IsSampled bit on sampler Decision::DROP #3745
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
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3745 +/- ##
==========================================
+ Coverage 89.91% 89.91% +0.01%
==========================================
Files 225 225
Lines 7134 7135 +1
==========================================
+ Hits 6414 6415 +1
Misses 720 720
🚀 New features to boost your workflow:
|
|
|
||
| TEST(Tracer, SpanSamplerDecision) | ||
| { | ||
| InMemorySpanExporter *exporter = new InMemorySpanExporter(); |
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.
nit - prefer make_unique/make_shared in place of new.
dbarker
left a comment
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.
Looks good. Thanks! Minor nitpick on new -> make_unique/make_shared.
[SDK] Reset TraceFlags::IsSampled bit on sampler Decision::DROP (open-telemetry#3745)
Fixes #3725
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