From 31bce80524fb72f86851faae3d3885d1c251bdfd Mon Sep 17 00:00:00 2001 From: Erwan Leboucher Date: Thu, 24 Sep 2026 10:52:58 +0200 Subject: [PATCH] fix(metrics): Start latency histogram buckets at 1ms --- src/core/metrics/prometheus.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/metrics/prometheus.rs b/src/core/metrics/prometheus.rs index 56f57d8eb..d49ac645e 100644 --- a/src/core/metrics/prometheus.rs +++ b/src/core/metrics/prometheus.rs @@ -170,7 +170,7 @@ pub fn method_label(method: &http::Method) -> &'static str { } } -fn duration_histogram() -> Histogram { Histogram::new(exponential_buckets(0.005, 2.0, 14)) } +fn duration_histogram() -> Histogram { Histogram::new(exponential_buckets(0.001, 2.0, 16)) } #[derive(Debug)] struct RuntimeCollector(runtime::RuntimeMetrics);