Class OpenTelemetryReactorPropagation

java.lang.Object
io.micronaut.tracing.opentelemetry.utils.OpenTelemetryReactorPropagation

public final class OpenTelemetryReactorPropagation extends Object
Utils class to get the OpenTelemetry tracing context from the Reactor context.
Since:
5.0.0
Author:
Denis Stepanov
  • Method Details

    • currentContext

      public static io.opentelemetry.context.Context currentContext(reactor.util.context.ContextView contextView)
      Find the OpenTelemetry Context from the reactive context.
      Parameters:
      contextView - The reactor's context view
      Returns:
      The found context.