Module rustracing::sampler

source ·
Expand description

Sampler trait and its built-in implementations.

Structs

This samples all traces.
and combinator.
This samples no traces.
or combinator.
This samples traces which have one or more references.
This samples a certain percentage of traces.

Traits

Sampler decides whether a new trace should be sampled or not.

Type Definitions

Boxed version of Sampler.