From a983cf5b4a33e1e849c17f397106276aaf9634e0 Mon Sep 17 00:00:00 2001 From: dongmen <414110582@qq.com> Date: Mon, 11 Sep 2023 09:46:04 +0800 Subject: [PATCH] fix_error_metrics --- metrics/grafana/ticdc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics/grafana/ticdc.json b/metrics/grafana/ticdc.json index 0db62779487..b3bd37f35f5 100644 --- a/metrics/grafana/ticdc.json +++ b/metrics/grafana/ticdc.json @@ -1063,7 +1063,7 @@ "steppedLine": false, "targets": [ { - "expr": "sum(increase(tikv_cdc_scan_duration_seconds_sum{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$tikv_instance\"}[1m])) by (type, instance)", + "expr": "sum(increase(tikv_cdc_scan_tasks{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$tikv_instance\"}[1m])) by (type, instance)", "format": "time_series", "hide": false, "intervalFactor": 1,