Trace to logs: Tags in traces #5076
Unanswered
sandhraprakash
asked this question in
Q&A
Replies: 1 comment 4 replies
-
hi @sandhraprakash! is this what you're looking for? https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/logger-mdc-instrumentation.md#logger-mdc-auto-instrumentation |
Beta Was this translation helpful? Give feedback.
4 replies
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.
-
I am using opentelemetry java instrumentation to auto instrument tracing in my application. and tempo is what I use for backend. and Grafana for visualization.
In Grafana tempo, we can view logs corresponding to a trace. https://grafana.com/docs/grafana/latest/datasources/tempo/#trace-to-logs. In order for this to work, the label in log should be available as tag in trace.
So my question is, Is there a way to add tags to traces using auto instrumentation?
Beta Was this translation helpful? Give feedback.
All reactions