getsentry / getsentry/sentry-go

Implement Sampling Seed Propagation

Open
#966 0 comments 0 reactions 0 assignees View on GitHub
Feature Go Traces
Dominant language
Go
Stars
1.1k
Forks
262
Avg merge
1d 48m
Merged PRs (30d)
7

Description

### 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**](https://develop.sentry.dev/sdk/telemetry/traces/#propagated-random-value)

### See also

Sample implementation in PHP https://github.com/getsentry/sentry-php/pull/1793.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.