[][src]Trait dipstick::Sampled

pub trait Sampled: WithAttributes {
    fn sampled(&self, sampling: Sampling) -> Self { ... }
fn get_sampling(&self) -> Sampling { ... } }

Apply statistical sampling to collected metrics data.

Provided methods

fn sampled(&self, sampling: Sampling) -> Self

Perform random sampling of values according to the specified rate.

fn get_sampling(&self) -> Sampling

Get the sampling strategy for this component, if any.

Loading content...

Implementors

impl Sampled for Statsd[src]

impl Sampled for StatsdScope[src]

Loading content...