Function dipstick::sample [] [src]

pub fn sample<IS, S>(rate: Rate, sink: IS) -> SamplingSink<S> where
    IS: IntoSink<S>,
    S: MetricSink

Perform random sampling of values according to the specified rate.