Class TraceContextHeaders

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Set<String> traceContextHeaderNames() The names, in lower case, of the request headers that carry a trace context: traceparent, tracestate, baggage, and the fields of the propagator the application registered, read anew at each call.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • traceContextHeaderNames

         final static Set<String> traceContextHeaderNames()

        The names, in lower case, of the request headers that carry a trace context: traceparent, tracestate, baggage, and the fields of the propagator the application registered, read anew at each call.

        A backend that signs its requests sends these headers and leaves them out of the signature. An HTTP client instrumentation may replace them with those of its own span after the request is signed, and a signature that covered them would then no longer match.

        This is an internal function. It is public only because the SDK's other modules call it; its API is not stable and may change without notice.