-
Notifications
You must be signed in to change notification settings - Fork 626
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 AWS X-Ray Propagator into its own opentelemetry-propagators-aws
package
#720
Move AWS X-Ray Propagator into its own opentelemetry-propagators-aws
package
#720
Conversation
20ec83f
to
13f6f86
Compare
In that case shouldn't the next version of |
608d87a
to
7697f30
Compare
Yeah this makes sense! It's unfortunate because basically no code changed... but it's a breaking API change so we should bump to |
7697f30
to
da317e5
Compare
@NathanielRN |
* When we moved the aws-xray propagator in open-telemetry#720, we needed to update the benchmark step of the workflow * Additionally, the GH action has evolved since we added benchmarks so we should use the latest version
* When we moved the aws-xray propagator in open-telemetry#720, we needed to update the benchmark step of the workflow * Additionally, the GH action has evolved since we added benchmarks so we should use the latest version
* Include propagator benchmarks + latest GH action * When we moved the aws-xray propagator in #720, we needed to update the benchmark step of the workflow * Additionally, the GH action has evolved since we added benchmarks so we should use the latest version * Merge all parallel benchmarks after they complete
…en-telemetry#838) * Include propagator benchmarks + latest GH action * When we moved the aws-xray propagator in open-telemetry#720, we needed to update the benchmark step of the workflow * Additionally, the GH action has evolved since we added benchmarks so we should use the latest version * Merge all parallel benchmarks after they complete
Description
Recently the AWS team discovered that we made the error of bundling the
AWSXrayFormat
propagator with the rest of the code in theopentelemetry-sdk-extension-aws
package. While theAWSXrayIdGenerator
andAws<Service>ResourceDetector
need a direct dependency on theopentelemetry-sdk
package, theAWSXrayFormat
propagator should only depend on theopentelemetry-api
package.This became obvious to us when we started making plans to upstream the OpenTelemetry Lambda Python Package and to get the propagator, would have to take a dependency on
opentelemetry-sdk
. This is wrong because none of the instrumentation depend onopentelemetry-sdk
.This matches the pattern we have in other languages:
In JavaScript:
(JS splits the detectors & ID Generator but we shouldn't have to)
In Java:
etc.
The solution we propose is a new
opentelemetry-propagators-aws
package to hold just the propagator.Since the
opentelemetry-sdk-extension-aws
package is already released as1.0.1
, this must be a breaking change to1.1.0
.Type of change
Please delete options that are not relevant.
How Has This Been Tested?
We moved all the unit tests to
Does This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.