-
Notifications
You must be signed in to change notification settings - Fork 831
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
Add is_remote_parent span flags to OTLP exported Spans and SpanLinks #6388
Conversation
e79e3ee
to
cd48de6
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6388 +/- ##
============================================
+ Coverage 91.05% 91.10% +0.05%
- Complexity 5839 5850 +11
============================================
Files 635 636 +1
Lines 17017 17036 +19
Branches 1729 1730 +1
============================================
+ Hits 15495 15521 +26
+ Misses 1023 1020 -3
+ Partials 499 495 -4 ☔ View full report in Codecov by Sentry. |
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 pretty good to me, but had a few small asks. Thanks!
.../common/src/main/java/io/opentelemetry/exporter/internal/otlp/traces/ProtoSpanFlagsUtil.java
Outdated
Show resolved
Hide resolved
.../common/src/main/java/io/opentelemetry/exporter/internal/otlp/traces/ProtoSpanFlagsUtil.java
Outdated
Show resolved
Hide resolved
.../otlp/common/src/main/java/io/opentelemetry/exporter/internal/otlp/traces/SpanMarshaler.java
Outdated
Show resolved
Hide resolved
88db857
to
b9d8496
Compare
api/all/src/main/java/io/opentelemetry/api/trace/ImmutableTraceFlags.java
Outdated
Show resolved
Hide resolved
api/all/src/main/java/io/opentelemetry/api/trace/TraceFlags.java
Outdated
Show resolved
Hide resolved
...ters/otlp/common/src/main/java/io/opentelemetry/exporter/internal/otlp/traces/SpanFlags.java
Show resolved
Hide resolved
sdk/trace/src/test/java/io/opentelemetry/sdk/trace/SdkSpanTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Alexander Wert <[email protected]>
Signed-off-by: Alexander Wert <[email protected]>
Signed-off-by: Alexander Wert <[email protected]>
Signed-off-by: Alexander Wert <[email protected]>
3cf4d7a
to
cbf5987
Compare
@open-telemetry/java-maintainers I think this is ready to be merged |
Implements the parent_is_remote trace flags when exporting a Span or a SpanLink through OTLP.
See: