Package org.mockserver.telemetry
Class TraceContextAttributes
java.lang.Object
org.mockserver.telemetry.TraceContextAttributes
Shared Netty channel
AttributeKey constants for W3C trace context.
Lives in mockserver-core so both core (HttpActionHandler) and netty
(TraceContextHandler) can reference the same key without creating a
core-to-netty dependency.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.netty.util.AttributeKey<W3CTraceContext>Channel attribute holding the parsedW3CTraceContextfor the current inbound request. -
Method Summary
-
Field Details
-
TRACE_CONTEXT
Channel attribute holding the parsedW3CTraceContextfor the current inbound request. Set by the Netty pipeline's trace context handler; read by the action handler to attach a remote parent to request-level OpenTelemetry spans.
-