Repository navigation
fix(propagator-b3): align B3 propagator with the OpenTelemetry spec - #3828
Merged
cijothomas merged 10 commits intoDec 4, 2026
Merged
Conversation
Pull request dashboard statusMerged · refreshed 2026-12-04 02:38 UTC Status above doesn't look right?
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3828 +/- ##
=====================================
Coverage 86.7% 86.8%
=====================================
Files 131 131
Lines 34756 34801 +45
=====================================
+ Hits 30160 30215 +55
+ Misses 4596 4586 -10 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
herin049
marked this pull request as ready for review
October 29, 2026 14:23
bantonsson
approved these changes
Nov 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3829
Changes
Aligns
opentelemetry-propagator-b3with the B3 spec and the OpenTelemetry B3 requirements.Breaking
Propagator::new()/default()andB3Encoding::UnSpecifiednow inject the singleb3header (spec: MUST default to single-header)Fixes
SingleHeaderno longer also injectsx-b3-*headers.d/X-B3-Flags: 1) implies sampled.X-B3-ParentSpanIdin the single header now rejects the context.0x04to0x40so it can't collide with future W3C flags (minor)Merge requirement checklist
CHANGELOG.mdfiles updated for non-trivial, user-facing changes