Skip to content

Commit

Permalink
Fix the Max SafeTS Gap metrics (close #30688)
Browse files Browse the repository at this point in the history
Signed-off-by: JmPotato <ghzpotato@gmail.com>
  • Loading branch information
JmPotato committed Dec 14, 2021
1 parent 7555536 commit 3c66f90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metrics/grafana/tidb.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand All @@ -5438,7 +5438,7 @@
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Max SafeTS gap",
"title": "Max SafeTS Gap",
"tooltip": {
"msResolution": false,
"shared": true,
Expand Down

0 comments on commit 3c66f90

Please sign in to comment.