← All notes

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

Sources

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

Permanent ID: iil:note:03s5cmm1

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.},
}

Markdown

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.

All artifact files (JSON index)

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.