Class OtTracePropagator
java.lang.Object
io.opentelemetry.extension.trace.propagation.OtTracePropagator
- All Implemented Interfaces:
io.opentelemetry.context.propagation.TextMapPropagator
@Immutable
@Deprecated
public final class OtTracePropagator
extends Object
implements io.opentelemetry.context.propagation.TextMapPropagator
Deprecated.
Implementation of the protocol used by OpenTracing Basic Tracers. Context is propagated through 3
headers, ot-tracer-traceid, ot-tracer-span-id, and ot-tracer-sampled. IDs are sent as hex strings
and sampled is sent as true or false. Baggage values are propagated using the ot-baggage- prefix.
See OT
Python Propagation TextMapPropagator.
-
Method Summary
Modifier and TypeMethodDescription<C> io.opentelemetry.context.Contextextract(io.opentelemetry.context.Context context, C carrier, io.opentelemetry.context.propagation.TextMapGetter<C> getter) Deprecated.fields()Deprecated.static OtTracePropagatorDeprecated.<C> voidinject(io.opentelemetry.context.Context context, C carrier, io.opentelemetry.context.propagation.TextMapSetter<C> setter) Deprecated.toString()Deprecated.
-
Method Details
-
getInstance
Deprecated. -
fields
Deprecated.- Specified by:
fieldsin interfaceio.opentelemetry.context.propagation.TextMapPropagator
-
inject
public <C> void inject(io.opentelemetry.context.Context context, @Nullable C carrier, io.opentelemetry.context.propagation.TextMapSetter<C> setter) Deprecated.- Specified by:
injectin interfaceio.opentelemetry.context.propagation.TextMapPropagator
-
extract
public <C> io.opentelemetry.context.Context extract(io.opentelemetry.context.Context context, @Nullable C carrier, io.opentelemetry.context.propagation.TextMapGetter<C> getter) Deprecated.- Specified by:
extractin interfaceio.opentelemetry.context.propagation.TextMapPropagator
-
toString
Deprecated.
-
W3CTraceContextPropagatorinstead.