Add more buckets to histogram

This commit is contained in:
Ivan Danyliuk 2018-06-28 16:40:43 +02:00
parent 6bb1de43e3
commit 0a07b997e2
No known key found for this signature in database
GPG Key ID: 97ED33CE024E1DBF
1 changed files with 2 additions and 2 deletions

View File

@ -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"})
)