-
Notifications
You must be signed in to change notification settings - Fork 986
Add logback mdc instrumentation to spring boot starter #12515
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
...entation/spring/autoconfigure/internal/instrumentation/logging/LogbackAppenderInstaller.java
Show resolved
Hide resolved
...entation/spring/autoconfigure/internal/instrumentation/logging/LogbackAppenderInstaller.java
Show resolved
Hide resolved
...tion/spring/spring-boot-autoconfigure/src/testLogbackAppender/resources/logback-mdc-test.xml
Outdated
Show resolved
Hide resolved
.../main/java/io/opentelemetry/instrumentation/logback/appender/v1_0/OpenTelemetryAppender.java
Show resolved
Hide resolved
@laurit, is there a way I can immediately use this with a Spring Boot Starter? Tried adding the dependency https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/logback/logback-mdc-1.0/library and the proposed logback config but I get |
Sure you can, you just have to include the library and configure it manually. If you can not get it working create a new issue and include a minimal application that reproduces your issue along with any necessary instructions. |
This is for feature parity with the agent.