Package io.axoniq.framework.tracing.micrometer.threadlocal
@NullMarked
package io.axoniq.framework.tracing.micrometer.threadlocal
In-process, thread-local trace-context propagation for the Micrometer binding: captures the dispatching thread's
thread-bound state (the active span, MDC, security context) and restores it on the framework's worker threads, so the
active Axon span is thread-local-current inside handler execution and instrumented JDBC/gRPC/WebClient calls and MDC
logging nest under it.
This is distinct from cross-service propagation, which is carried by the Propagator over message metadata.
The bridge can be disabled independently through its configuration enhancer.
-
ClassesClassDescription
ConfigurationEnhancerthat installs the Micrometer thread-local trace-context-propagation bridge.