Baggage propagation
Mechanism to carry arbitrary metadata (trace ID, user ID, request flags) through all layers of a distributed system.
Baggage is an OpenTelemetry concept—key-value pairs attached to a trace that get shared with all child spans. A trace ID is one example of baggage. Others include user ID for later filtering, feature-flag state, or timeout deadline for an entire request flow. Baggage needs to propagate correctly: via HTTP headers for REST, request metadata for gRPC, message properties for queues.
Pitfall: too much baggage makes spans huge. Kilobytes of metadata per request make indexing and storage a financial problem. OpenTelemetry implementations usually cap it. Another risk: baggage values from user data can leak to third parties via headers if you're not careful.