Skip to content

Logger MDC auto-instrumentation with opentelemetry-spring-boot-starter #7653

Answered by mateuszrzeszutek
birkoni5 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @birkoni5 ,

Unfortunately the spring boot starter is missing this feature right now; it can be added very easily though. You'll have to include one more dependency, and then configure your logging pattern to include the trace_id/span_id information.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by birkoni5
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants