-
Notifications
You must be signed in to change notification settings - Fork 572
feat(opentelemetry-sampler-aws-xray): Update Rules Poller Implementation #2750
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
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2750 +/- ##
=======================================
Coverage 89.53% 89.53%
=======================================
Files 180 180
Lines 8725 8725
Branches 1771 1771
=======================================
Hits 7812 7812
Misses 913 913 🚀 New features to boost your workflow:
|
27c82e6
to
e571be0
Compare
e571be0
to
198fcf9
Compare
Hi @trentm, in this PR I am continuing the X-Ray Sampler Implementation, which I plan to finish in 2 followup PRs. I've moved the Sampler out from Since I added it to
|
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.
Since we are just publishing our internal implementation that has already been reviewed by team, nothing more to add from my side.
Will defer to any further feedback provided by upstream approvers/maintainers.
Note that this PR is moving the Sampler out from |
@pichlermarc Looking for approval. Also wondering if you are fine with moving this sampler out of |
@jj22ee I'd rather have it remain in incubating for now since the dependencies still need to be updated to reference SDK 2.0 (node engine field also needs to be adapted since we don't support Node.js 14 anymore in the latest releases of the contrib repo and we don't test for it anymroe). |
f40264e
to
82e7236
Compare
@pichlermarc Moved the Sampler back into |
@jj22ee thanks! There also seem to be some changes to the top-level
Yes, we can safely ignore them here. |
oops, fixed |
Looks like the TAV checks are also failing |
Which problem is this PR solving?
Short description of the changes
This PR is an update to #1443
AwsXRayRemoteSampler
is a ParentBased Sampler, with internal logic inside_AWSXRayRemoteSampler
SamplingRule
and Skeleton class forSamplingRuleApplier
Statistics
class for sampling rules statistics (not used yet)axios
as a dependency, rely onhttp
module for polling rulesaws-xray-sampling-client.ts