Skip to content

Commit

Permalink
Merge branch 'release-5.2' into cherry-pick-3845-to-release-5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sdojjy authored Dec 20, 2021
2 parents e13bf3b + b125de9 commit 589c0a2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions metrics/alertmanager/ticdc.rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ groups:
value: '{{ $value }}'
summary: cdc cluster has multiple owners

- alert: cdc_no_owner
expr: sum(rate(ticdc_owner_ownership_counter[30s])) < 0.5
for: 10m
labels:
env: ENV_LABELS_ENV
level: warning
expr: sum(rate(ticdc_owner_ownership_counter[30s])) < 0.5
annotations:
description: 'cluster: ENV_LABELS_ENV, instance: {{ $labels.instance }}, values: {{ $value }}'
value: '{{ $value }}'
summary: cdc cluster has no owner for more than 10 minutes

- alert: cdc_checkpoint_high_delay
expr: ticdc_processor_checkpoint_ts_lag > 600
for: 1m
Expand Down

0 comments on commit 589c0a2

Please sign in to comment.