Package io.sentry.opentelemetry
Class SentryPropagator
java.lang.Object
io.sentry.opentelemetry.SentryPropagator
- All Implemented Interfaces:
io.opentelemetry.context.propagation.TextMapPropagator
public final class SentryPropagator
extends Object
implements io.opentelemetry.context.propagation.TextMapPropagator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<C> io.opentelemetry.context.Context
extract
(io.opentelemetry.context.Context context, C carrier, io.opentelemetry.context.propagation.TextMapGetter<C> getter) fields()
<C> void
inject
(io.opentelemetry.context.Context context, C carrier, io.opentelemetry.context.propagation.TextMapSetter<C> setter)
-
Constructor Details
-
SentryPropagator
public SentryPropagator()
-
-
Method Details
-
fields
- Specified by:
fields
in interfaceio.opentelemetry.context.propagation.TextMapPropagator
-
inject
public <C> void inject(io.opentelemetry.context.Context context, C carrier, io.opentelemetry.context.propagation.TextMapSetter<C> setter) - Specified by:
inject
in interfaceio.opentelemetry.context.propagation.TextMapPropagator
-
extract
public <C> io.opentelemetry.context.Context extract(io.opentelemetry.context.Context context, C carrier, io.opentelemetry.context.propagation.TextMapGetter<C> getter) - Specified by:
extract
in interfaceio.opentelemetry.context.propagation.TextMapPropagator
-