Skip to content
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

Implement Sampling Seed Propagation #966

Open
stephanie-anderson opened this issue Feb 4, 2025 · 0 comments
Open

Implement Sampling Seed Propagation #966

stephanie-anderson opened this issue Feb 4, 2025 · 0 comments
Assignees

Comments

@stephanie-anderson
Copy link
Contributor

Description

See https://github.com/getsentry/projects/issues/316

To increase the chance of capturing complete traces when users return a new sample rate tracesSampler in backend services, we propagate the random value used by the SDK for computing the sampling decision instead of creating a new random value in every service. Therefore, across a trace every SDK uses the same random value.

Develop: Spec

See also

Sample implementation in PHP getsentry/sentry-php#1793.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants