Expand description
W3C Trace Context propagation for agentguard requests.
See https://www.w3.org/TR/trace-context/. A TraceContext can be parsed
from the standard traceparent HTTP header and serialized back to one.
Carried on crate::request::AgentRequest and threaded through every
authorization decision’s audit record.
Structs§
- SpanId
- 64-bit span identifier, hex-encoded to 16 chars.
- Trace
Context - W3C Trace Context, parsed from the
traceparentheader. - TraceId
- 128-bit trace identifier, hex-encoded to 32 chars when displayed.
Constants§
- SPAN_
ID_ LEN - Length in bytes of a W3C parent-id / span-id (8 bytes = 16 hex chars).
- TRACE_
ID_ LEN - Length in bytes of a W3C trace-id (16 bytes = 32 hex chars).