Propagate OpenTelemetry baggage as request-scoped key-value context
Answer: Baggage carries contextual key/value data beside the OpenTelemetry context.
Names and values
The specification treats baggage names as any valid, non-empty UTF-8 string. Values are valid UTF-8 strings as well. For maximum compatibility, prefer alpha-numeric names.
| name | value | |---|---| | name | non-empty UTF-8 string | | value | valid UTF-8 string | | compatibility | prefer alpha-numeric names | | compatibility | prefer alpha-numeric names |
How it is used
See also
Claims
- id: C1 claim: Baggage is contextual information stored next to OpenTelemetry context. source: S1 evidence: "Baggage is contextual information that resides next to context."
- id: C2 claim: Instrumentations typically propagate baggage automatically. source: S1 evidence: "Additionally, instrumentations automatically propagate baggage for you."
- id: C3 claim: Baggage names are any valid, non-empty UTF-8 strings. source: S2 evidence: "Baggage names are any valid, non-empty UTF-8 strings."
Sources
- [S1] Baggage. OpenTelemetry. https://opentelemetry.io/docs/concepts/signals/baggage/ . License: CC-BY-4.0. Accessed 2026-11-20.
- [S2] Baggage API. open-telemetry/opentelemetry-specification. https://raw.githubusercontent.com/open-telemetry/opentelemetry-specification/main/specification/baggage/api.md . License: Apache-2.0. Accessed 2026-11-20.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: OpenTelemetry, Baggage; open-telemetry/opentelemetry-specification, Baggage API. CC-BY-4.0; Apache-2.0. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: OpenTelemetry, Baggage; open-telemetry/opentelemetry-specification, Baggage API. CC-BY-4.0; Apache-2.0.
Cite this
iinventedlight. 2026. "Propagate OpenTelemetry baggage as request-scoped key-value context." iinventedlight Library, iil:note:03s5cmm1, version of 2026-11-20. https://iinventedlight.com/library/notes/otel-baggage/. License: CC-BY-4.0.
@misc{iil_note_03s5cmm1,
author = {{iinventedlight}},
title = {{Propagate OpenTelemetry baggage as request-scoped key-value context}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-20},
url = {https://iinventedlight.com/library/notes/otel-baggage/},
note = {Permanent ID iil:note:03s5cmm1. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- otel-baggage.table.json (table; CC-BY-4.0)
- otel-baggage.schema.json (schema; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/otel-baggage.md.