Class ObservedReactorPropagation
java.lang.Object
io.micronaut.micrometer.observation.utils.ObservedReactorPropagation
Utils class to get the Observation from the Reactor context.
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.micrometer.observation.Observation
currentObservation
(reactor.util.context.ContextView contextView) Find the Observation from the reactive context.
-
Method Details
-
currentObservation
public static io.micrometer.observation.Observation currentObservation(reactor.util.context.ContextView contextView) Find the Observation from the reactive context.- Parameters:
contextView
- The reactor's context view- Returns:
- The found observation.
-