metrics: enlarge statement retry count upper limit (#16196)

This commit is contained in:
Jack Yu
2020-04-10 10:24:10 +08:00
committed by GitHub
parent c561d5aa99
commit b02b902e36

View File

@ -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(