Skip to content

Tagging spans with values from MDC #10734

Closed Answered by sakariye
sakariye asked this question in Q&A
Discussion options

You must be logged in to vote

I ended up instrumenting the preHandle method of a HandlerInterceptor on method exit. This is where the MDC values are set for my project. The MDC was accessible in the advice class.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sakariye
Comment options

Answer selected by sakariye
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants