Package io.opentelemetry.extension.aws
Class AwsXrayPropagator
java.lang.Object
io.opentelemetry.extension.aws.AwsXrayPropagator
- All Implemented Interfaces:
io.opentelemetry.context.propagation.TextMapPropagator
@Deprecated
public final class AwsXrayPropagator
extends Object
implements io.opentelemetry.context.propagation.TextMapPropagator
Deprecated.
Moved to io.opentelemetry.contrib:opentelemetry-aws-xray-propagator.
Implementation of the AWS X-Ray Trace Header propagation protocol. See AWS
Tracing header spec
To register the X-Ray propagator together with default propagator when using the SDK:
OpenTelemetrySdk.builder()
.setPropagators(
ContextPropagators.create(
TextMapPropagator.composite(
W3CTraceContextPropagator.getInstance(),
AWSXrayPropagator.getInstance())))
.build();
-
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 AwsXrayPropagatorDeprecated.<C> voidinject(io.opentelemetry.context.Context context, C carrier, io.opentelemetry.context.propagation.TextMapSetter<C> setter) 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
-