Skip to content

Commit

Permalink
metrics (ticdc): fix error metrics expression (#9648) (#9683)
Browse files Browse the repository at this point in the history
close #9649
  • Loading branch information
ti-chi-bot authored Sep 11, 2023
1 parent 5fe84bb commit 2af501a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics/grafana/ticdc.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2af501a

Please sign in to comment.