Skip to main content

sum

Function sum 

Source
fn sum(
    name: &str,
    unit: &str,
    description: &str,
    points: Vec<NumberDataPoint>,
) -> Metric
Expand description

One cumulative counter: a value that only goes up for the life of the process, which is what is_monotonic promises a reader.