Class OtTraceConfigurablePropagator

java.lang.Object
io.opentelemetry.extension.trace.propagation.OtTraceConfigurablePropagator
All Implemented Interfaces:
io.opentelemetry.sdk.autoconfigure.spi.ConfigurablePropagatorProvider

public final class OtTraceConfigurablePropagator extends Object implements io.opentelemetry.sdk.autoconfigure.spi.ConfigurablePropagatorProvider
A ConfigurablePropagatorProvider which allows enabling the OtTracePropagator with the propagator name ottrace.
  • Constructor Details

    • OtTraceConfigurablePropagator

      public OtTraceConfigurablePropagator()
  • Method Details

    • getPropagator

      public io.opentelemetry.context.propagation.TextMapPropagator getPropagator(io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties config)
      Specified by:
      getPropagator in interface io.opentelemetry.sdk.autoconfigure.spi.ConfigurablePropagatorProvider
    • getName

      public String getName()
      Specified by:
      getName in interface io.opentelemetry.sdk.autoconfigure.spi.ConfigurablePropagatorProvider