Skip to content

TraceId and the SpanId are Zeros #8572

Answered by trask
vigamage asked this question in Q&A
May 25, 2023 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

hi @vigamage, are you following https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/logger-mdc-instrumentation.md?

what happens if you print Span.current().getSpanContext().getTraceId() from inside of your code at that point where you are performing the logging?

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@vigamage
Comment options

Answer selected by vigamage
Comment options

You must be logged in to vote
2 replies
@laurit
Comment options

@banujan6
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants