diff --git a/metrics/grafana/ticdc.json b/metrics/grafana/ticdc.json index 789ae9e13d5..91f5d961714 100644 --- a/metrics/grafana/ticdc.json +++ b/metrics/grafana/ticdc.json @@ -1121,11 +1121,11 @@ "steppedLine": false, "targets": [ { - "expr": "avg(ticdc_processor_min_resolved_table_id{tidb_cluster=\"$tidb_cluster\", capture=~\"$capture\"}) by (capture)", + "expr": "ticdc_processor_min_resolved_table_id{tidb_cluster=\"$tidb_cluster\", capture=~\"$capture\", changefeed=~\"$changefeed\"}", "format": "time_series", "hide": false, "intervalFactor": 2, - "legendFormat": "{{capture}}-table-id", + "legendFormat": "{{capture}}-{{changefeed}}-table-id", "refId": "A", "step": 10 } @@ -1220,11 +1220,11 @@ "steppedLine": false, "targets": [ { - "expr": "avg(ticdc_processor_min_checkpoint_table_id{tidb_cluster=\"$tidb_cluster\", capture=~\"$capture\"}) by (capture)", + "expr": "ticdc_processor_min_checkpoint_table_id{tidb_cluster=\"$tidb_cluster\", capture=~\"$capture\", changefeed=~\"$changefeed\"}", "format": "time_series", "hide": false, "intervalFactor": 2, - "legendFormat": "{{capture}}-table-id", + "legendFormat": "{{capture}}-{{changefeed}}-table-id", "refId": "A", "step": 10 }