Integrate the Micrometer Context Propagation library #29056
Labels
theme: observability
An issue related to observability and tracing
type: enhancement
A general enhancement
Milestone
The Micrometer context-propagation library propagates context across different types of context such as
ThreadLocal
, ReactorContext
, and others. It does not replace those but rather helps to propagate values from one type of context to another, or simply to restore ThreadLocal values on a different thread.One place where we can integrate the library is in Spring MVC. When a controller method returns
Flux
orMono
, we can use the Context Propagation library to populate the ReactorContext
with values from anyThreadLocal
's for which there is a registeredThreadLocalAccessor
.The text was updated successfully, but these errors were encountered: