Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(jaeger-propagator): propagate/extract baggage #2137 #2158

Merged
merged 4 commits into from
May 11, 2021

Conversation

vmarchaud
Copy link
Member

Spec: https://www.jaegertracing.io/docs/1.21/client-libraries/#propagation-format

I checked and the spec doesn't say if we should support both HTTP_HEADERS and TEXT_MAP encoding but since this propagator is mostly used for http propagation, i'm not sure how we should do that.
There is already a discussion in the java SIG for this (open-telemetry/opentelemetry-java#2032) and its apparently waiting for the spec to be solved. I think we should wait for spec to know if we need both or not

Fixes #2137

@codecov
Copy link

codecov bot commented Apr 25, 2021

Codecov Report

Merging #2158 (c63878b) into main (5cd02aa) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #2158      +/-   ##
==========================================
+ Coverage   92.82%   92.83%   +0.01%     
==========================================
  Files         139      139              
  Lines        5003     5024      +21     
  Branches     1030     1035       +5     
==========================================
+ Hits         4644     4664      +20     
- Misses        359      360       +1     
Impacted Files Coverage Δ
...elemetry-propagator-jaeger/src/JaegerPropagator.ts 100.00% <100.00%> (ø)
...emetry-core/src/platform/node/RandomIdGenerator.ts 87.50% <0.00%> (-6.25%) ⬇️

@vmarchaud vmarchaud force-pushed the jeager-propagate-baggage branch from 09c9302 to 00eca4d Compare May 2, 2021 14:22
@vmarchaud
Copy link
Member Author

vmarchaud commented May 2, 2021

I've rebased and addressed comments

@vmarchaud vmarchaud requested a review from Flarna May 2, 2021 14:23
@vmarchaud vmarchaud force-pushed the jeager-propagate-baggage branch from 00eca4d to bc560ac Compare May 2, 2021 14:46
Copy link
Member

@obecny obecny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dyladan
Copy link
Member

dyladan commented May 5, 2021

@vmarchaud after conflicts and @obecny's nit you can merge

@obecny
Copy link
Member

obecny commented May 7, 2021

@vmarchaud I think you can resolve conflicts and merge it

@dyladan
Copy link
Member

dyladan commented May 7, 2021

i think he mentioned in SIG he will have time to work on otel this weekend.

@vmarchaud vmarchaud force-pushed the jeager-propagate-baggage branch from bc560ac to 067266f Compare May 8, 2021 08:35
@vmarchaud vmarchaud merged commit 5f7ec00 into open-telemetry:main May 11, 2021
@vmarchaud vmarchaud deleted the jeager-propagate-baggage branch May 11, 2021 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Baggage support for Jaeger propagation
4 participants