Class OtelSentryPropagator

java.lang.Object
io.sentry.opentelemetry.OtelSentryPropagator
All Implemented Interfaces:
io.opentelemetry.context.propagation.TextMapPropagator

public final class OtelSentryPropagator extends Object implements io.opentelemetry.context.propagation.TextMapPropagator
  • Constructor Details

    • OtelSentryPropagator

      public OtelSentryPropagator()
  • Method Details

    • fields

      public Collection<String> fields()
      Specified by:
      fields in interface io.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 interface io.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 interface io.opentelemetry.context.propagation.TextMapPropagator