Skip to content

Commit

Permalink
metrics(ticdc): fix min resolved ts/checkpoint table ID metrics (#4375)
Browse files Browse the repository at this point in the history
close #4374
  • Loading branch information
overvenus authored Jan 18, 2022
1 parent 4bfa080 commit 1e0adf2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions metrics/grafana/ticdc.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 1e0adf2

Please sign in to comment.