Skip to content

Commit 90f3b2f

Browse files
committed
fix pd role metric for 3.0 (pingcap#1065)
1 parent 99e965f commit 90f3b2f

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)