Repository navigation
Conversation
|
Pull request dashboard statusWaiting on reviewers · refreshed 2026-11-19 22:26 UTC Review the latest changes. Status above doesn't look right?
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9004 +/- ##
=========================================
Coverage 90.46% 90.46%
- Complexity 11180 11186 +6
=========================================
Files 1032 1032
Lines 30500 30515 +15
Branches 3991 3996 +5
=========================================
+ Hits 27591 27605 +14
Misses 1935 1935
- Partials 974 975 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
jack-berg
left a comment
There was a problem hiding this comment.
Can you add the implementation for declarative config as well?
I considered whether we should add noop support for logging / metrics as well, but landed on no. Tracing is the only signal where there is a distinction between noop and none. Adding to logging/metrics would be symmetry but adds confusion. Better to keep tracing as an exception and document the reason why.
…s without exporting them # Conflicts: # CHANGELOG.md # docs/apidiffs/current_vs_latest/opentelemetry-sdk-trace.txt # sdk/trace/src/main/java/io/opentelemetry/sdk/trace/TracerSharedState.java
2e30495 to
ab6cfeb
Compare
|
@jack-berg I addressed the review comments. |
|
I'm fine with the API addition if Jack is ok with this approach. |
A tracer has a second output channel that isn't the exporter. The SpanContext injected into outbound requests and into log records. This is what we just missed.
This PR adds
otel.traces.exporter=noopandSpanProcessor.noop()to allow the creation of spans without the export part. This ensures previous behavior is maintained if people choose so.Fixes #8740
This is the implementation described in comment #8740 (comment)
Not sure how to fix the config docs in the website.