-
Notifications
You must be signed in to change notification settings - Fork 821
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
Move xray propagator from contrib #4544
Conversation
* feat: add xray propagator * chore: cleanups * Remove AWS Distro link Co-authored-by: Valentin Marchaud <thisismac47@gmail.com>
Co-authored-by: vmarchaud <vmarchaud@users.noreply.github.com>
* feat: add ESM builds for packages used in browser * fix(id-generator-aws-xray): missed including esm files
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
* chore: update core to 0.20.0 * chore: fix test * chore: review comments and lint * chore: get example versions from previous update * chore: lint
Co-authored-by: dyladan <dyladan@users.noreply.github.com>
* chore: move api into peer dependency * fix peer-api-check script
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
Co-authored-by: vmarchaud <vmarchaud@users.noreply.github.com> Co-authored-by: vmarchaud <contact@vmarchaud.fr>
* chore: 0.22.0 release proposal * chore: changelog Co-authored-by: dyladan <dyladan@users.noreply.github.com>
* chore: 0.23.0 release proposal * chore: changelog Co-authored-by: obecny <obecny@users.noreply.github.com> Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Co-authored-by: dyladan <dyladan@users.noreply.github.com>
bbe5b8d
to
1b4999f
Compare
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #4544 +/- ##
==========================================
+ Coverage 92.83% 92.91% +0.07%
==========================================
Files 328 329 +1
Lines 9481 9577 +96
Branches 2031 2057 +26
==========================================
+ Hits 8802 8898 +96
Misses 679 679
|
@pichlermarc I have opened to two alternative PRs to this one
Please let me know which of these three PRs makes most sense to pursue. |
Closing in favor of #4603 |
This is part of #4494
It should be possible to configure the
xray
propagator using theOTEL_PROPAGATORS
env variable. This is currently documented here, and it is also part of the lambda spec.This was discussed in the SIG meeting on 1/31/24 and decided that the propagator should be moved from contrib to here. This will then make it possible to hardcode the mapping of the name
xray
to the AWSXrayPropagator implementation in the BasicTracerProvider.fyi @carolabadeer (as the maintainer of this component in https://github.com/open-telemetry/opentelemetry-js-contrib)
Note about history -
This PR includes the commit history from the contrib repository for any changes made to these files. The upside is that it preserves the history of the original authors. The downside is that many chore commits were brought over as well (including contrib release commits). The commit messages also include links to PRs in the
opentelemetry-js-contrib
that are no longer valid in the context of theopentelemetry-js
repository. I think this is similar to what was done when the API was moved (the links in this PR are also invalid).As an alternative, I could open this PR without the history, or I could selectively remove commits we do not want to bring over.