mirror of https://github.com/tikv/client-go.git
metrics: make upper limit of RPC latency larger (#997)
Signed-off-by: Jack Yu <jackysp@gmail.com>
This commit is contained in:
parent
4c2ae43454
commit
daed9fdaba
|
|
@ -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})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue