-
Notifications
You must be signed in to change notification settings - Fork 53
[RUM-12493] [V3] RUM Session ID based Consistent Trace Sampling #1071
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
Merged
marco-saia-datadog
merged 4 commits into
feature/v3
from
marcosaia/RUM-12493/rum-session-id-based-trace-sampling
Dec 15, 2025
Merged
[RUM-12493] [V3] RUM Session ID based Consistent Trace Sampling #1071
marco-saia-datadog
merged 4 commits into
feature/v3
from
marcosaia/RUM-12493/rum-session-id-based-trace-sampling
Dec 15, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
390ba0d to
fcfaf0e
Compare
fuzzybinary
previously approved these changes
Dec 9, 2025
Member
fuzzybinary
left a comment
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.
LGTM!
sbarrio
previously approved these changes
Dec 10, 2025
Contributor
sbarrio
left a comment
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.
Very thorough tests, top notch work!
41ea1eb to
edd7045
Compare
Base automatically changed from
sbarrio/RUM-12894/initialization-api-restructuring-for-modularization
to
feature/v3
December 10, 2025 10:43
The base branch was changed.
sbarrio
previously approved these changes
Dec 11, 2025
fcfaf0e to
3e0c785
Compare
…n-api-restructuring-for-modularization [RUM-12894] [V3] New Configuration object and initialization API to support Modularization
3e0c785 to
bfdb696
Compare
sbarrio
approved these changes
Dec 15, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR modifies the logic to determine whether the trace should be sampled or not, by using the RUM Session ID first, before using the Trace sampling if no session can be found.
Motivation
Consistent trace sampling based on RUM Session ID allows RUM clients and the backend to come to a the same decision about sampling without relying on randomness for each trace.
Additional Notes
Review checklist (to be filled by reviewers)