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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()io.opentelemetry.context.propagation.TextMapPropagatorgetPropagator(io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties config)
-
Constructor Details
-
OtTraceConfigurablePropagator
public OtTraceConfigurablePropagator()
-
-
Method Details
-
getPropagator
public io.opentelemetry.context.propagation.TextMapPropagator getPropagator(io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties config) - Specified by:
getPropagatorin interfaceio.opentelemetry.sdk.autoconfigure.spi.ConfigurablePropagatorProvider
-
getName
- Specified by:
getNamein interfaceio.opentelemetry.sdk.autoconfigure.spi.ConfigurablePropagatorProvider
-