|
8168 | 8168 | "steppedLine": false, |
8169 | 8169 | "targets": [ |
8170 | 8170 | { |
8171 | | - "expr": "sum(rate(pd_schedule_filter{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", store=~\"$store\", action=\"filter-source\", type!=\"store-state-tombstone-filter\"}[1m])*60) by (source, type, scope)", |
| 8171 | + "expr": "sum(rate(pd_schedule_source_filter{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", store=~\"$store\", action=\"filter-source\", type!=\"store-state-tombstone-filter\"}[1m])*60) by (source, type, scope)", |
8172 | 8172 | "format": "time_series", |
8173 | 8173 | "intervalFactor": 2, |
8174 | 8174 | "legendFormat": "{{scope}}-store-{{source}}-{{type}}", |
|
8263 | 8263 | "steppedLine": false, |
8264 | 8264 | "targets": [ |
8265 | 8265 | { |
8266 | | - "expr": "sum(rate(pd_schedule_filter{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", store=~\"$store\", action=\"filter-target\", type!=\"store-state-tombstone-filter\"}[1m])*60) by (target, type, scope)", |
| 8266 | + "expr": "sum(rate(pd_schedule_target_filter{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", store=~\"$store\", action=\"filter-target\", type!=\"store-state-tombstone-filter\"}[1m])*60) by (target, type, scope)", |
8267 | 8267 | "format": "time_series", |
8268 | 8268 | "intervalFactor": 2, |
8269 | 8269 | "legendFormat": "{{scope}}-store-{{target}}-{{type}}", |
8270 | 8270 | "refId": "A", |
8271 | 8271 | "step": 4 |
8272 | | - }, |
8273 | | - { |
8274 | | - "expr": "sum(rate(pd_schedule_filter{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", action=\"filter-target\",type=\"distinct-filter\"}[1m])*60) by (source, target, type, scope)", |
8275 | | - "format": "time_series", |
8276 | | - "hide": true, |
8277 | | - "intervalFactor": 2, |
8278 | | - "legendFormat": "{{scope}}-{{type}}-{{source}}-{{target}}", |
8279 | | - "refId": "B" |
8280 | | - }, |
8281 | | - { |
8282 | | - "expr": "sum(rate(pd_schedule_filter{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", action=\"filter-target\",type=\"rule-fit-filter\"}[1m])*60) by (source, target, type, scope)", |
8283 | | - "format": "time_series", |
8284 | | - "hide": true, |
8285 | | - "intervalFactor": 2, |
8286 | | - "legendFormat": "{{scope}}-{{type}}-{{source}}-{{target}}", |
8287 | | - "refId": "C" |
8288 | | - }, |
8289 | | - { |
8290 | | - "expr": "sum(rate(pd_schedule_filter{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", action=\"filter-target\",type=\"rule-fit-leader-filter\"}[1m])*60) by (source, target, type, scope)", |
8291 | | - "format": "time_series", |
8292 | | - "hide": true, |
8293 | | - "intervalFactor": 2, |
8294 | | - "legendFormat": "{{scope}}-{{type}}-{{source}}-{{target}}", |
8295 | | - "refId": "D" |
8296 | 8272 | } |
8297 | 8273 | ], |
8298 | 8274 | "thresholds": [], |
|
0 commit comments