-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Remove ConsumerOld #1631
Remove ConsumerOld #1631
Conversation
a0e3a25
to
028d3d9
Compare
Codecov Report
@@ Coverage Diff @@
## master #1631 +/- ##
==========================================
- Coverage 91.89% 91.88% -0.01%
==========================================
Files 255 254 -1
Lines 17510 17309 -201
==========================================
- Hits 16090 15905 -185
+ Misses 1013 1007 -6
+ Partials 407 397 -10
Continue to review full report at Codecov.
|
Signed-off-by: Bogdan Drutu <[email protected]>
028d3d9
to
faaf4e5
Compare
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
* sdk/trace: add missing options to tracer provider This change adds `WithDefaultSampler` and `WithSpanLimits` to the tracer provider and removed `WithConfig` from it. Before this change, `WithConfig` is the only way to set sampler or limits of a span. However, it is prone to misuse, since `WithConfig` can override tracing configurations that are configured by `WithResource` or `WithIDGenerator`. Thus to fix this, it adds new functional options - `WithDefaultSampler` and `WithSpanLimits` and removes `WithConfig`. Resolves open-telemetry#1631. * Update sdk/trace/provider.go Co-authored-by: Tyler Yahn <[email protected]> * Update sdk/trace/provider.go Co-authored-by: Tyler Yahn <[email protected]> * rebase and remove WithConfig Co-authored-by: Tyler Yahn <[email protected]>
No description provided.