Skip to content

Commit

Permalink
metrics(ticdc): fix min resolved ts/checkpoint table ID metrics (ping…
Browse files Browse the repository at this point in the history
…cap#4375)

Signed-off-by: Neil Shen <overvenus@gmail.com>
  • Loading branch information
overvenus committed Jun 23, 2022
1 parent c7b7732 commit 3f73b77
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{k8s_cluster=\"k8s_cluster\", tidb_cluster=\"$tidb_cluster\", capture=~\"$capture\"}) by (capture)",
"expr": "ticdc_processor_min_resolved_table_id{k8s_cluster=\"k8s_cluster\", tidb_cluster=\"$tidb_cluster\", capture=~\"$capture\"})",
"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{k8s_cluster=\"k8s_cluster\", tidb_cluster=\"$tidb_cluster\", capture=~\"$capture\"}) by (capture)",
"expr": "ticdc_processor_min_checkpoint_table_id{k8s_cluster=\"k8s_cluster\", tidb_cluster=\"$tidb_cluster\", capture=~\"$capture\"})",
"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 3f73b77

Please sign in to comment.