|
1728 | 1728 | "tableColumn": "idalloc", |
1729 | 1729 | "targets": [ |
1730 | 1730 | { |
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)", |
1732 | 1732 | "format": "time_series", |
1733 | 1733 | "hide": false, |
1734 | 1734 | "instant": true, |
|
2274 | 2274 | "tableColumn": "tso", |
2275 | 2275 | "targets": [ |
2276 | 2276 | { |
2277 | | - "expr": "pd_cluster_tso{type=\"tso\", dc=\"global\"}!=0", |
| 2277 | + "expr": "max(pd_cluster_tso{type=\"tso\", dc=\"global\"})by(type)", |
2278 | 2278 | "format": "time_series", |
2279 | 2279 | "instant": true, |
2280 | 2280 | "interval": "", |
|
2578 | 2578 | "tableColumn": "tso", |
2579 | 2579 | "targets": [ |
2580 | 2580 | { |
2581 | | - "expr": "pd_cluster_tso{type=\"tso\", dc=\"global\"}!=0", |
| 2581 | + "expr": "max(pd_cluster_tso{type=\"tso\", dc=\"global\"})by(type)", |
2582 | 2582 | "format": "time_series", |
2583 | 2583 | "instant": true, |
2584 | 2584 | "interval": "", |
|
13071 | 13071 | "id": 1601, |
13072 | 13072 | "options": { |
13073 | 13073 | "colorMode": "value", |
13074 | | - "graphMode": "area", |
| 13074 | + "graphMode": "none", |
13075 | 13075 | "justifyMode": "auto", |
13076 | 13076 | "orientation": "auto", |
13077 | 13077 | "reduceOptions": { |
|
13088 | 13088 | "targets": [ |
13089 | 13089 | { |
13090 | 13090 | "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\"})", |
13092 | 13092 | "instant": false, |
13093 | 13093 | "interval": "", |
13094 | 13094 | "legendFormat": "{{instance}}", |
|
13256 | 13256 | "targets": [ |
13257 | 13257 | { |
13258 | 13258 | "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])", |
13260 | 13260 | "instant": false, |
13261 | 13261 | "interval": "", |
13262 | 13262 | "legendFormat": "{{instance}}", |
|
0 commit comments