From e1ae550a6b80565b0c2b8026777b3b58296db3ff Mon Sep 17 00:00:00 2001 From: Ti Chi Robot Date: Wed, 30 Oct 2024 21:03:07 +0800 Subject: [PATCH] metrics: set sync load latency as P9999 (#56981) (#57000) close pingcap/tidb#56980 --- pkg/metrics/grafana/tidb.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/metrics/grafana/tidb.json b/pkg/metrics/grafana/tidb.json index b7f64910a5f4b..f84ad21f4f89b 100644 --- a/pkg/metrics/grafana/tidb.json +++ b/pkg/metrics/grafana/tidb.json @@ -15316,7 +15316,7 @@ "targets": [ { "exemplar": true, - "expr": "histogram_quantile(0.95, sum(rate(tidb_statistics_sync_load_latency_millis_bucket{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])) by (le))", + "expr": "histogram_quantile(0.9999, sum(rate(tidb_statistics_sync_load_latency_millis_bucket{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])) by (le))", "format": "time_series", "interval": "", "intervalFactor": 2, @@ -15326,7 +15326,7 @@ }, { "exemplar": true, - "expr": "histogram_quantile(0.95, sum(rate(tidb_statistics_read_stats_latency_millis_bucket{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])) by (le))", + "expr": "histogram_quantile(0.9999, sum(rate(tidb_statistics_read_stats_latency_millis_bucket{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])) by (le))", "format": "time_series", "hide": false, "interval": "", @@ -15340,7 +15340,7 @@ "timeFrom": null, "timeRegions": [], "timeShift": null, - "title": "Sync Load Latency 95", + "title": "Sync Load Latency P9999", "tooltip": { "shared": true, "sort": 0,