From daed9fdababf45db8845c060b4825a87c9da84e1 Mon Sep 17 00:00:00 2001 From: Jack Yu Date: Fri, 6 Oct 2023 20:20:06 -0700 Subject: [PATCH] metrics: make upper limit of RPC latency larger (#997) Signed-off-by: Jack Yu --- metrics/metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics/metrics.go b/metrics/metrics.go index 5c72f05b28..7a9cfcf367 100644 --- a/metrics/metrics.go +++ b/metrics/metrics.go @@ -185,7 +185,7 @@ func initMetrics(namespace, subsystem string, constLabels prometheus.Labels) { Subsystem: subsystem, Name: "rpc_net_latency_seconds", Help: "Bucketed histogram of time difference between TiDB and TiKV.", - Buckets: prometheus.ExponentialBuckets(5e-5, 2, 18), // 50us ~ 6.5s + Buckets: prometheus.ExponentialBuckets(5e-5, 2, 22), // 50us ~ 105s ConstLabels: constLabels, }, []string{LblStore, LblScope})