From f311d9e6f8ca53f1a49d0dac71c95390192aa89a Mon Sep 17 00:00:00 2001 From: Mitja T Date: Sun, 4 Feb 2024 23:01:34 -0800 Subject: [PATCH] prometheus: Histograms: Use more buckets --- metrics/analysis.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metrics/analysis.go b/metrics/analysis.go index 63ccb5387..abc755a71 100644 --- a/metrics/analysis.go +++ b/metrics/analysis.go @@ -45,8 +45,8 @@ const ( func defaultTimeBuckets() []float64 { const ( minThreshold = 0.0001 - maxThreshold = 10 // The resulting output might be one bucket short due to rounding errors. - thresholdsPerOrderOfMagnitude = 10 // "order of magnitude" being 10x. + maxThreshold = 1000 // The resulting output might be one bucket short due to rounding errors. + thresholdsPerOrderOfMagnitude = 10 // "Order of magnitude" being 10x. ) buckets := []float64{}