Skip to content

docs: clarify baggage and current context semantics#5049

Open
iacker wants to merge 1 commit intoopen-telemetry:mainfrom
iacker:docs/baggage-current-context-2432
Open

docs: clarify baggage and current context semantics#5049
iacker wants to merge 1 commit intoopen-telemetry:mainfrom
iacker:docs/baggage-current-context-2432

Conversation

@iacker
Copy link
Copy Markdown

@iacker iacker commented Apr 7, 2026

Summary

  • explain that baggage helpers return new Context snapshots instead of mutating the current context
  • document the difference between explicit context=... parameters and the current execution context
  • show the correct context.attach/context.detach pattern for baggage

Test Plan

  • tox -e docs
    • the docs build is currently blocked in this environment by an external intersphinx fetch failure (pymongo.readthedocs.io inventory resolution), which Sphinx treats as an error here
    • the content change itself is limited to docs/api/baggage.rst and docs/api/context.rst

Refs #2432

@iacker iacker requested a review from a team as a code owner April 7, 2026 00:41
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Apr 7, 2026

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: iacker / name: Billard (9de347c)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant