From 80128ebcff96ae0a624db7cd909b910dc75366c0 Mon Sep 17 00:00:00 2001 From: Max Ignatenko Date: Sun, 27 Oct 2024 12:23:59 +0000 Subject: [PATCH] fix: change lower bound 1 -> 0.1 --- cmd/plc-mirror/metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/plc-mirror/metrics.go b/cmd/plc-mirror/metrics.go index 2a5cc4a..68e511e 100644 --- a/cmd/plc-mirror/metrics.go +++ b/cmd/plc-mirror/metrics.go @@ -18,5 +18,5 @@ var requestCount = promauto.NewCounterVec(prometheus.CounterOpts{ var requestLatency = promauto.NewHistogramVec(prometheus.HistogramOpts{ Name: "plcmirror_response_latency_millisecond", Help: "Latency of responses.", - Buckets: prometheus.ExponentialBucketsRange(1, 30000, 20), + Buckets: prometheus.ExponentialBucketsRange(0.1, 30000, 20), }, []string{"status"})