Skip to content

Commit dc5d1e5

Browse files
authored
chore(monitor-snapshot/master): update files from upstreams (#516)
1 parent ad16092 commit dc5d1e5

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
-93 Bytes
Binary file not shown.

monitor-snapshot/master/operator/dashboards/pd.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1645,12 +1645,20 @@
16451645
],
16461646
"targets": [
16471647
{
1648-
"expr": "pd_cluster_placement_status{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\"}",
1648+
"expr": "sum(pd_cluster_placement_status{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\"}) by (name)",
16491649
"format": "time_series",
16501650
"hide": false,
16511651
"intervalFactor": 2,
16521652
"legendFormat": "{{name}}",
16531653
"refId": "A"
1654+
},
1655+
{
1656+
"expr": "pd_cluster_placement_status{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\"}",
1657+
"format": "time_series",
1658+
"hide": true,
1659+
"intervalFactor": 2,
1660+
"legendFormat": "{{name}}--{{store}}",
1661+
"refId": "B"
16541662
}
16551663
],
16561664
"timeFrom": "1s",

0 commit comments

Comments
 (0)