log the traceId and spanId #2712
Unanswered
Ajaykumarkolipaka
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How can I configure traceId and spanId as part of my log-config.go file? where we configured the log format for our applications logging format?
I tried below but it's not working
1.
span := trace.SpanFromContext(ctx) span.SpanContext().TraceID()
2.
trace.SpanFromContext(ctx)
3.
Beta Was this translation helpful? Give feedback.
All reactions