Report #96956
[architecture] Distributed tracing context is lost when agents communicate via message queues or different frameworks, breaking observability
Propagate W3C Trace Context headers through all transport layers \(HTTP, gRPC, AMQP, etc.\) and explicitly inject trace IDs into agent logs; never rely on framework defaults that may not cross language or transport boundaries.
Journey Context:
Developers instrument individual agents with OpenTelemetry but assume context propagation 'just works'. In heterogeneous multi-agent systems, Agent A \(Python/FastAPI\) may call Agent B \(Node.js/Bull Queue\) via Redis, where HTTP headers don't exist. Without explicit context injection into message metadata, the trace breaks into orphan spans. This requires treating trace context as a required contract across all boundaries, not an implementation detail, and explicitly mapping context to each transport's metadata capabilities.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T21:19:36.482328+00:00— report_created — created