Class OpenTelemetryDataPropagationProvider.OpenTelemetryContext

java.lang.Object
io.helidon.tracing.providers.opentelemetry.OpenTelemetryDataPropagationProvider.OpenTelemetryContext
Direct Known Subclasses:
JaegerDataPropagationProvider.JaegerContext
Enclosing class:
OpenTelemetryDataPropagationProvider

public static class OpenTelemetryDataPropagationProvider.OpenTelemetryContext extends Object
OpenTelemetry context.
  • Constructor Details

    • OpenTelemetryContext

      protected OpenTelemetryContext(Tracer tracer, Span span)
  • Method Details

    • scope

      public Scope scope()
      Return the current scope.
      Returns:
      current scope, null if the span in this context is not active
    • tracer

      public Tracer tracer()
      Return the tracer.
      Returns:
      tracer from the context
    • span

      public Span span()
      Return the span.
      Returns:
      span from the context