Module sampling

Module sampling 

Source
Expand description

Sampling strategies for distributed tracing.

Sampling controls which traces are recorded and exported. The decision is made at the trace root (head-based sampling) and propagated to all child spans via the FLAG_SAMPLED bit in TraceContext::flags.

Structs§

Sampler
A sampler that decides whether a trace should be recorded.
SamplingConfig
Sampling configuration.

Enums§

SamplingStrategy
Sampling strategy enumeration.