Package com.anthropic.internal.telemetry
Class TraceContextHeaders
-
- All Implemented Interfaces:
public final class TraceContextHeaders
-
-
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.-
-
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.
-
-
-
-