Skip to main content

histogram

Function histogram 

Source
pub fn histogram(
    name: impl Into<Cow<'static, str>>,
    unit: impl Into<Cow<'static, str>>,
    description: impl Into<Cow<'static, str>>,
) -> Histogram<f64>
Expand description

Create an f64 histogram (e.g. durations, sizes). unit follows UCUM ("s" for seconds, "By" for bytes, "" for dimensionless).