Replies: 1 comment 1 reply
-
hi @EugeneMsv, logback mdc instrumentation now supports injecting baggage into mdc: https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/instrumentation/logback/logback-mdc-1.0/javaagent/README.md |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hi,
There is a list of auto injected correlation fields to app logs
https://github.com/open-telemetry/opentelemetry-specification/tree/main/specification/logs#auto-instrumenting-existing-logging
like
trace_id
.Can you pls suggest a place where it is implemented and might be an example how we can add our custom field from otel Context using the same approach? I'm particulary interested in adding the field via otel javaagaent extension, not the application code.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions