Expand description
Sampler trait and its built-in implementations.
Structs§
- AllSampler
- This samples all traces.
- AndSampler
andcombinator.- Null
Sampler - This samples no traces.
- OrSampler
orcombinator.- Passive
Sampler - This samples traces which have one or more references.
- Probabilistic
Sampler - This samples a certain percentage of traces.
Traits§
- Sampler
Samplerdecides whether a new trace should be sampled or not.
Type Aliases§
- BoxSampler
- Boxed version of
Sampler.