Skip to content

Commit 9e29377

Browse files
authored
chore(monitor-snapshot/master): update files from upstreams (#406)
1 parent b6d0d13 commit 9e29377

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

-2 Bytes
Binary file not shown.

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1728,7 +1728,7 @@
17281728
"tableColumn": "idalloc",
17291729
"targets": [
17301730
{
1731-
"expr": "pd_cluster_id{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", type=\"idalloc\"}!=0",
1731+
"expr": "max(pd_cluster_id{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", type=\"idalloc\"})by(type)",
17321732
"format": "time_series",
17331733
"hide": false,
17341734
"instant": true,
@@ -2274,7 +2274,7 @@
22742274
"tableColumn": "tso",
22752275
"targets": [
22762276
{
2277-
"expr": "pd_cluster_tso{type=\"tso\", dc=\"global\"}!=0",
2277+
"expr": "max(pd_cluster_tso{type=\"tso\", dc=\"global\"})by(type)",
22782278
"format": "time_series",
22792279
"instant": true,
22802280
"interval": "",
@@ -2578,7 +2578,7 @@
25782578
"tableColumn": "tso",
25792579
"targets": [
25802580
{
2581-
"expr": "pd_cluster_tso{type=\"tso\", dc=\"global\"}!=0",
2581+
"expr": "max(pd_cluster_tso{type=\"tso\", dc=\"global\"})by(type)",
25822582
"format": "time_series",
25832583
"instant": true,
25842584
"interval": "",
@@ -13071,7 +13071,7 @@
1307113071
"id": 1601,
1307213072
"options": {
1307313073
"colorMode": "value",
13074-
"graphMode": "area",
13074+
"graphMode": "none",
1307513075
"justifyMode": "auto",
1307613076
"orientation": "auto",
1307713077
"reduceOptions": {
@@ -13088,7 +13088,7 @@
1308813088
"targets": [
1308913089
{
1309013090
"exemplar": true,
13091-
"expr": "pd_replication_dr_state{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=\"$instance\"}",
13091+
"expr": "max(pd_replication_dr_state{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\"})",
1309213092
"instant": false,
1309313093
"interval": "",
1309413094
"legendFormat": "{{instance}}",
@@ -13256,7 +13256,7 @@
1325613256
"targets": [
1325713257
{
1325813258
"exemplar": true,
13259-
"expr": "rate(pd_replication_dr_tick_total{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=\"$instance\"}[5m])",
13259+
"expr": "rate(pd_replication_dr_tick_total{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\"}[5m])",
1326013260
"instant": false,
1326113261
"interval": "",
1326213262
"legendFormat": "{{instance}}",

0 commit comments

Comments
 (0)