-
Notifications
You must be signed in to change notification settings - Fork 0
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
Otel integration #17
Otel integration #17
Conversation
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.
It looks good to me overall
core/src/main/java/com/netflix/conductor/core/events/SimpleActionProcessor.java
Show resolved
Hide resolved
core/src/main/java/com/netflix/conductor/core/tracing/Tracing.java
Outdated
Show resolved
Hide resolved
core/src/main/java/com/netflix/conductor/core/config/TracingProperties.java
Show resolved
Hide resolved
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 overall
public Optional<String> getTraceId() { | ||
if (this.span.isPresent()) { | ||
SpanContext spanContext = this.span.get().getSpanContext(); | ||
return Optional.of( |
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.
weird that we have to manually generate the traceID, isn't it provided in the span context?
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.
the SpanContext only provided methods to access only the parts of the full trace id
Initialize tracing in a separate bean so the tracing instance can be injected into the contrib libraries