relay_sampling

Module dsc

source
Expand description

Contextual information stored on traces.

DynamicSamplingContext (DSC) contains properties associated to traces that are shared between individual data submissions to Sentry. These properties are supposed to not change during the lifetime of the trace.

The information in the DSC is used to compute a deterministic sampling decision without access to all individual data in the trace.

Structsยง