Skip to content
This repository was archived by the owner on Jun 24, 2021. It is now read-only.

Commit 5531558

Browse files
authored
fix pd role metric for 3.0 (#1065) (#1066)
1 parent 99e965f commit 5531558

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/pd.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
"tableColumn": "",
138138
"targets": [
139139
{
140-
"expr": "count(delta(pd_tso_events{type=\"save\",instance=\"$instance\"}[1m]))",
140+
"expr": "count(delta(pd_server_tso{type=\"save\",instance=\"$instance\"}[1m]))",
141141
"format": "time_series",
142142
"intervalFactor": 2,
143143
"legendFormat": "",
@@ -7243,4 +7243,4 @@
72437243
"title": "Test-Cluster-PD",
72447244
"uid": "Q6RuHYIWk",
72457245
"version": 5
7246-
}
7246+
}

0 commit comments

Comments
 (0)