From b02b902e364b956c8fc5bdb5ea94ceab1ea8b25e Mon Sep 17 00:00:00 2001 From: Jack Yu Date: Fri, 10 Apr 2020 10:24:10 +0800 Subject: [PATCH] metrics: enlarge statement retry count upper limit (#16196) --- metrics/session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics/session.go b/metrics/session.go index 3c661af213..43b40a78be 100644 --- a/metrics/session.go +++ b/metrics/session.go @@ -107,7 +107,7 @@ var ( Subsystem: "session", Name: "statement_pessimistic_retry_count", Help: "Bucketed histogram of statement pessimistic retry count", - Buckets: prometheus.ExponentialBuckets(1, 1.5, 14), // 1 ~ 291 + Buckets: prometheus.ExponentialBuckets(1, 2, 16), // 1 ~ 65536 }) StatementLockKeysCount = prometheus.NewHistogram(