From 0a07b997e270797cd540fc157ab1ea018f7f9afa Mon Sep 17 00:00:00 2001 From: Ivan Danyliuk Date: Thu, 28 Jun 2018 16:40:43 +0200 Subject: [PATCH] Add more buckets to histogram --- stats.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stats.go b/stats.go index 19d60ad..0c8ec3f 100644 --- a/stats.go +++ b/stats.go @@ -21,8 +21,8 @@ var ( }) msgsLatencies = prometheus.NewHistogramVec(prometheus.HistogramOpts{ Name: "msgs_responses_latency", - Help: "Latencies of responses to bot messages", - Buckets: []float64{500, 1000, 2000, 5000, 20000, 30000}, + Help: "Latencies of responses to bot messages in ms", + Buckets: []float64{100, 500, 1000, 2000, 3000, 4000, 5000, 7500, 10000, 20000, 30000}, }, []string{"bot"}) )