Class OpenTelemetryReactorPropagation
java.lang.Object
io.micronaut.tracing.opentelemetry.utils.OpenTelemetryReactorPropagation
Utils class to get the OpenTelemetry tracing context from the Reactor context.
- Since:
- 5.0.0
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.opentelemetry.context.Context
currentContext
(reactor.util.context.ContextView contextView) Find the OpenTelemetryContext
from the reactive context.
-
Method Details
-
currentContext
public static io.opentelemetry.context.Context currentContext(reactor.util.context.ContextView contextView) Find the OpenTelemetryContext
from the reactive context.- Parameters:
contextView
- The reactor's context view- Returns:
- The found context.
-