metrics: make upper limit of RPC latency larger (#997)

Signed-off-by: Jack Yu <jackysp@gmail.com>
This commit is contained in:
Jack Yu 2023-10-06 20:20:06 -07:00 committed by GitHub
parent 4c2ae43454
commit daed9fdaba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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