-
Notifications
You must be signed in to change notification settings - Fork 850
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
Extended tracer #6017
Extended tracer #6017
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #6017 +/- ##
============================================
+ Coverage 91.17% 91.18% +0.01%
- Complexity 5613 5694 +81
============================================
Files 616 628 +12
Lines 16564 16674 +110
Branches 1642 1643 +1
============================================
+ Hits 15102 15205 +103
- Misses 1013 1015 +2
- Partials 449 454 +5 ☔ View full report in Codecov by Sentry. |
a943560
to
5d88915
Compare
extensions/incubator/src/main/java/io/opentelemetry/extension/incubator/trace/Propagation.java
Outdated
Show resolved
Hide resolved
extensions/incubator/src/main/java/io/opentelemetry/extension/incubator/trace/Propagation.java
Outdated
Show resolved
Hide resolved
extensions/incubator/src/main/java/io/opentelemetry/extension/incubator/trace/Propagation.java
Outdated
Show resolved
Hide resolved
extensions/incubator/src/main/java/io/opentelemetry/extension/incubator/trace/Propagation.java
Outdated
Show resolved
Hide resolved
extensions/incubator/src/main/java/io/opentelemetry/extension/incubator/trace/Propagation.java
Outdated
Show resolved
Hide resolved
...sions/incubator/src/main/java/io/opentelemetry/extension/incubator/trace/ExtendedTracer.java
Outdated
Show resolved
Hide resolved
...sions/incubator/src/main/java/io/opentelemetry/extension/incubator/trace/ExtendedTracer.java
Show resolved
Hide resolved
...sions/incubator/src/main/java/io/opentelemetry/extension/incubator/trace/ExtendedTracer.java
Outdated
Show resolved
Hide resolved
extensions/incubator/src/main/java/io/opentelemetry/extension/incubator/trace/README.md
Outdated
Show resolved
Hide resolved
extensions/incubator/src/main/java/io/opentelemetry/extension/incubator/trace/SpanCallback.java
Outdated
Show resolved
Hide resolved
Thanks a lot for the detailed review @jack-berg! Let me recap the history of this feature:
Once we've agreed on this approach, I'll implement all requested changes. |
This would resolve #4610, correct @zeitlinger? |
- use factory method instead of ctor - remove getTextMapPropagationContext from ExtendedTracer as it was only delegating
…incubator/trace/SpanCallback.java Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
- return unmodifiable map
@jack-berg I hope I've incorporated every feedback as intended. I'll update the usage examples once you've confirmed. |
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.
Just a couple of additional comments. I'm aligned at this point.
extensions/incubator/src/main/java/io/opentelemetry/extension/incubator/trace/README.md
Outdated
Show resolved
Hide resolved
extensions/incubator/src/main/java/io/opentelemetry/extension/incubator/trace/README.md
Outdated
Show resolved
Hide resolved
...sions/incubator/src/main/java/io/opentelemetry/extension/incubator/trace/ExtendedTracer.java
Outdated
Show resolved
Hide resolved
extensions/incubator/src/main/java/io/opentelemetry/extension/incubator/trace/SpanCallable.java
Outdated
Show resolved
Hide resolved
extensions/incubator/src/main/java/io/opentelemetry/extension/incubator/trace/SpanRunnable.java
Outdated
Show resolved
Hide resolved
...ns/incubator/src/main/java/io/opentelemetry/extension/incubator/propagation/Propagation.java
Outdated
Show resolved
Hide resolved
- increase coverage - update usage examples
.../incubator/src/main/java/io/opentelemetry/extension/incubator/trace/ExtendedSpanBuilder.java
Outdated
Show resolved
Hide resolved
.../incubator/src/main/java/io/opentelemetry/extension/incubator/trace/ExtendedSpanBuilder.java
Outdated
Show resolved
Hide resolved
...s/incubator/src/test/java/io/opentelemetry/extension/incubator/trace/ExtendedTracerTest.java
Outdated
Show resolved
Hide resolved
...s/incubator/src/test/java/io/opentelemetry/extension/incubator/trace/ExtendedTracerTest.java
Outdated
Show resolved
Hide resolved
...sions/incubator/src/main/java/io/opentelemetry/extension/incubator/trace/ExtendedTracer.java
Outdated
Show resolved
Hide resolved
...sions/incubator/src/main/java/io/opentelemetry/extension/incubator/trace/ExtendedTracer.java
Outdated
Show resolved
Hide resolved
…incubator/trace/ExtendedSpanBuilder.java Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
Resolves #4610