-
Notifications
You must be signed in to change notification settings - Fork 894
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
Update Sampler.ShouldSample parent parameter to be Context #881
Update Sampler.ShouldSample parent parameter to be Context #881
Conversation
This comment has been minimized.
This comment has been minimized.
064a023
to
6cf28c8
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@bogdandrutu out of curiosity, of specifying |
@bogdandrutu @Oberon00 You guys think is is needed after the related PR was merged? cc @alolita |
@carlosalberto I think "needed" is the wrong word, just the SpanContext should work as well as before it is not needed more than before but I think it now makes even more sense. Note that among other things, this gives access to the full parent span in many cases, instead of only the SpanContext. |
Please add an entry in the spec compliance matrix (preferably marking it as "[SDK]" or something in case we'll split the table later on). |
It feels like the changelog and compliance matrix should somehow be merged... I'll add the line in the table. |
Conflicts: spec-compliance-matrix.md
Done in f081f86. |
@open-telemetry/specs-approvers Please review. Although not something required-for-GA, it's still allowed to go in and looks straight enough ;) |
This PR has been semantically unchanged since 25 days ago and it has two approvers from different companies, so can we just merge it? @open-telemetry/technical-committee Otherwise I will bring it up in the SIG spec meeting tomorrow, unless it can get more reviews until then 😃 @open-telemetry/specs-approvers @open-telemetry/specs-trace-approvers |
@Oberon00 Lets mention it tomorrow, please (although I'm strongly inclined to merge it already, as it's a natural progression of allowing |
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.
Discard all my previous comments, I think this is a good change
…metry#881) * Change Sampler.ShouldSample to get full parent Context. * Link to Context. * SpanContext is never stored in Context anymore * Add CHANGELOG. * Wording. * Add compliance matrix entry. Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
Fixes #1024
Changes
Sampler.ShouldSample
to receive a full parentContext
CC @alolita (you are responsible for the sampling issues currently)