sentry-ruby icon indicating copy to clipboard operation
sentry-ruby copied to clipboard

Implement Sampling Seed Propagation

Open stephanie-anderson opened this issue 11 months ago • 0 comments

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 https://github.com/getsentry/sentry-php/pull/1793.

stephanie-anderson avatar Feb 04 '25 09:02 stephanie-anderson