Distributed Context
Metadata carried with a request through a distributed system to correlate all related logging and tracing.
In a monolith, you follow a request through a single stack trace. In a distributed system, the same request hops between services, databases, and message queues—without a way to link logs from all of them, debugging becomes guesswork. Distributed context is usually a unique identifier (trace ID or correlation ID) that each service propagates when forwarding the request downstream.
OpenTelemetry standardized this via "baggage"—contextual metadata passed along HTTP headers and other transport mechanisms. Without distributed context, troubleshooting modern systems is blind.