Skip to main content

Module trace_context

Module trace_context 

Source
Expand description

W3C Trace Context propagation for distributed tracing. W3C Trace Context propagation for distributed tracing.

The GitHub Copilot CLI propagates W3C Trace Context headers (traceparent and tracestate) so SDK consumers can correlate spans created by the CLI with their own observability pipelines.

Two injection paths are supported:

Structs§

TraceContext
W3C Trace Context headers propagated to and from the GitHub Copilot CLI.

Traits§

TraceContextProvider
Async provider that returns the current TraceContext for outbound session RPCs.