Repository navigation
Conversation
B3PropagatorExtractorMultipleHeaders built a log message on every extract() call without an X-B3-TraceId header, even with FINE logging off, so every untraced request allocated a string. Return early when the header is absent, as the single header extractor does, and use parameterized log calls for invalid trace and span IDs. Fixes open-telemetry#9065 Claude-Session: https://claude.ai/code/session_01Hq1ACTsK85bRrY28fUQ7b3
Pull request dashboard statusWaiting on reviewers · refreshed 2026-11-27 08:57 UTC Review the latest changes. 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 #9073 +/- ##
=========================================
Coverage 90.56% 90.56%
- Complexity 11220 11221 +1
=========================================
Files 1032 1032
Lines 30599 30601 +2
Branches 4010 4011 +1
=========================================
+ Hits 27711 27713 +2
Misses 1913 1913
Partials 975 975 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
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.
Summary
Avoid unnecessary logging and string allocations when extracting B3 multi-header trace context.
Changes
Testing
Fixes #9065
I used Claude to help write and test this change.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Hq1ACTsK85bRrY28fUQ7b3