Class W3CTraceContextPropagator


  • @Immutable
    public final class W3CTraceContextPropagator
    extends java.lang.Object
    Implementation of the W3C TraceContext propagation protocol. See W3C Trace Context.

    This is the default propagator for SpanContexts. The SpanContext type is designed to support all the data propagated via W3C propagation natively.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static io.opentelemetry.context.propagation.TextMapPropagator getInstance()
      Returns a singleton instance of a TextMapPropagator implementing the W3C TraceContext propagation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getInstance

        public static io.opentelemetry.context.propagation.TextMapPropagator getInstance()
        Returns a singleton instance of a TextMapPropagator implementing the W3C TraceContext propagation.