fn sampler_for_percent(sample_percent: u8) -> Sampler
Returns the sampler for a percentage of traces, treating values above 100 as 100.