linera_base::prometheus_util

Function linear_bucket_latencies

Source
pub fn linear_bucket_latencies(max_latency: f64) -> Option<Vec<f64>>
Expand description

Construct the latencies linearly starting from 1 and ending at the maximum latency