metrics: fix the Max SafeTS Gap metrics (#30689)

This commit is contained in:
JmPotato
2021-12-14 19:48:34 +08:00
committed by GitHub
parent 2f42f7c0f6
commit 5d463f3be7

View File

@ -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,