[otap-dataflow] propagate headers in otlp exporter#2585
Merged
lquerel merged 19 commits intoopen-telemetry:mainfrom Apr 8, 2026
Merged
[otap-dataflow] propagate headers in otlp exporter#2585lquerel merged 19 commits intoopen-telemetry:mainfrom
lquerel merged 19 commits intoopen-telemetry:mainfrom
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2585 +/- ##
========================================
Coverage 88.37% 88.37%
========================================
Files 620 620
Lines 228395 228577 +182
========================================
+ Hits 201850 202011 +161
- Misses 26021 26042 +21
Partials 524 524
🚀 New features to boost your workflow:
|
Contributor
|
@albertlockett could you take a look at this one also :-) |
jmacd
approved these changes
Apr 7, 2026
…ow into otlp-exporter-grpc-headers
…ow into otlp-exporter-grpc-headers
…ow into otlp-exporter-grpc-headers
albertlockett
approved these changes
Apr 8, 2026
Member
sorry for the late reply @lquerel ! I did look at this yesterday, thought I had approved but I guess I forgot to click the button 🤦♂️ |
Contributor
Thank you again for all the reviews you did yesterday! |
Merged
via the queue into
open-telemetry:main
with commit Apr 8, 2026
b7f1f6a
67 of 69 checks passed
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.
Change Summary
Updated the otlp exporter to check if there is a propagation policy and if the received OtapPdata contains any headers in the context, if yes then exporter will apply the policy to the headers and create a tonic MetadataMap containing the propagated headers. Update the exporter to insert the MetadataMap in the grpc request
What issue does this PR close?
How are these changes tested?
unit tests
Are there any user-facing changes?
no