Skip to main content

sampler_for_percent

Function sampler_for_percent 

Source
fn sampler_for_percent(sample_percent: u8) -> Sampler
Expand description

Returns the sampler for a percentage of traces, treating values above 100 as 100.