-
Couldn't load subscription status.
- Fork 117
Add baggage propagation in instana #370
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
Add baggage propagation in instana #370
Conversation
Co-authored-by: Chris Lightfoot-Wild <[email protected]>
|
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #370 +/- ##
============================================
+ Coverage 81.68% 81.72% +0.03%
- Complexity 1741 1745 +4
============================================
Files 133 134 +1
Lines 7307 7322 +15
============================================
+ Hits 5969 5984 +15
Misses 1338 1338 Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
847e8e7 to
fcd8659
Compare
|
@brettmc @ChrisLightfootWild , Please review this followup PR on Instana propagator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not the right approach. If users want to do baggage propagation, they can use opentelemetry's MultiTextMapPropagator, and pass it an Instana and Baggage propagator. That's the way it's meant to be used, for example:
$propagator = new MultiTextMapPropagator(InstantPropagator::getInstance(), BaggagePropagator::getInstance();It should also work with env-based autoloading, eg OTEL_PROPAGATORS=instana,baggage
So, Instana propagators should only concern themselves with the implementation of Instana headers propagation.
…textmappropagator will suffice the same
|
Looks much better now. Some minor comments, and CI linting is unhappy ( |
|
@brettmc , I see that downloading the package directly using composer gives error since there is no release version tagged to this package . is it something which will be created by you on this package?
|
|
https://packagist.org/packages/open-telemetry/opentelemetry-propagation-instana - can you run some sanity checks on |
Sure @brettmc when you do sanity checks .. does Otel-php has any requirements/checklist to be followed? |
No. Just satisfy yourself that you can download it, and it works as expected against a real application (eg participating in the middle of a distributed trace) |
|
@brettmc , I tested the dev-main branch of contrib-instana-propagator package and distributed tracing works as expected. I can see all different services coming under one trace using instana native headers. |
This PR is to add the support for baggage propagation in Instana propagator plus unit tests.
This branch is followup PR of #365.
Once this PR is merged , I'll rebase this feature branch on master.