Function phron_finality::metrics::exponential_buckets_two_sided
source · fn exponential_buckets_two_sided(
start: f64,
factor: f64,
count_below: usize,
count_above: usize
) -> Result<Vec<f64>>
Expand description
Create count_below
+ 1 + count_above
buckets, where (count_below
+ 1)th bucket
has an upper bound start
. The buckets are exponentially distributed with a factor factor
.