W3C Trace Context Propagation and Span Export

W3C Trace Context Propagation and Span Export A sequence diagram generated by Archify. HTTP request Envoy generates Trace ID + Span ID Forward with traceparent header App A extracts context → creates child span HTTP request with traceparent Envoy extracts parent context → creates new span Forward with updated traceparent Export span Export span Export span (optional) Export span (optional) Trace context propagation via traceparent header Span export (async, does not block the request path) Client · Frontend · Sequence participant Client Frontend Envoy Proxy · Service A sidecar · Sequence participant Envoy Proxy Service A sidecar App A · Service A container · Sequence participant App A Service A container Envoy Proxy · Service B sidecar · Sequence participant Envoy Proxy Service B sidecar App B · Service B container · Sequence participant App B Service B container Jaeger Collector · Tracing Backend · Sequence participant Jaeger Collector Tracing Backend Legend Main path Async span export Sync call (traceparent propagation)