diff --git a/metrics/grafana/tidb.json b/metrics/grafana/tidb.json index 2776e7625570f..518112d04abcc 100644 --- a/metrics/grafana/tidb.json +++ b/metrics/grafana/tidb.json @@ -5426,7 +5426,7 @@ "steppedLine": false, "targets": [ { - "expr": "sum(tidb_tikvclient_safets_gap_seconds{tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}) by (instance, store)", + "expr": "tidb_tikvclient_min_safets_gap_seconds{tidb_cluster=\"$tidb_cluster\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}-store-{{store}}", @@ -5438,7 +5438,7 @@ "timeFrom": null, "timeRegions": [], "timeShift": null, - "title": "Max SafeTS gap", + "title": "Max SafeTS Gap", "tooltip": { "msResolution": false, "shared": true,