docs: upstream proposal — W3C multi-tenant tracestate keys - #53
docs: upstream proposal — W3C multi-tenant tracestate keys#53michaelbushe wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Hi @michaelbushe, I'm learning a lot about Otel now thanks to your PRs. So big thanks On this PR, I think there might be some confusion. At least for me. And the OTel Spec Api propagators references that TraceContexts should be parsed and validated agains that Level-2 version. See here. So maybe this is a reason why the Otel TraceState Docs do not mention the multi-tenant? I also found this in the TraceState handling docs explicitly recognizes multi-tenant syntax but says OpenTelemetry does not specify its interpretation:
And for this comment:
I just did a check against the opentelemetry-js code, and it seems that it support the multi-tenant format: |
Fixes #49
Adds
doc/proposals/tracestate-multi-tenant.md: the finalized, ready-to-post upstream proposal for the W3C multi-tenanttracestatekey form (tenant-id@system-id). The document leads with the privacy constraint that explains why no OTel API supports the form (naive support reads as automatic tenant propagation, and tracestate flows to every downstream hop including third-party services), then asks for two things: a required conformance fix (TraceState implementations MUST accept the W3C multi-tenant key form) and optional vendor-neutral convenience accessors, with automatic stamping explicitly out of scope. W3C and OTel spec text is quoted verbatim (verified against the published Recommendation and spec), and the supporting-notes section records the shipped 241/14 validation grammar, the platform posture from #49, and the SIG positioning. Docs-only: no code or CHANGELOG changes;dart analyze --fatal-infosanddart formatremain clean.Posting to open-telemetry/opentelemetry-specification remains Michael's manual step — this doc is the copy-paste artifact (section 2 is the paste; section 3 is discussion notes).
🤖 Generated with Claude Code