Skip to content
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

Document MDC usage in user documentation #282

Open
RiccardoManzan opened this issue Apr 28, 2023 · 1 comment
Open

Document MDC usage in user documentation #282

RiccardoManzan opened this issue Apr 28, 2023 · 1 comment

Comments

@RiccardoManzan
Copy link

Feature description

It would be nice to have something in the description of micronaut-core and micronaut-tracing about the usage of MDC.
It looks like this module is required in order to make the MDC be correctly propagated in child processes.
It has been pretty difficult to find why the MDC values were not being shown by logback.

See:

@scprek
Copy link

scprek commented Sep 25, 2023

I've updated some docs for logback specifically in the java OTEL instrumentation project since it's technically implemented outside of micronaut and not included by the framework (See #166)

https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/logback/logback-mdc-1.0/library

Main readme
https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/logger-mdc-instrumentation.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants