Skip to content

Commit

Permalink
alert: tackle the false-postive case where alerting gc not work. (t…
Browse files Browse the repository at this point in the history
…ikv#15948) (tikv#15955)

close tikv#15796

Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>

Co-authored-by: lucasliang <nkcs_lykx@hotmail.com>
Co-authored-by: Spade  A <71589810+SpadeA-Tang@users.noreply.github.com>
  • Loading branch information
3 people committed Nov 23, 2023
1 parent 737e03f commit 29c4807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics/alertmanager/tikv.rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ groups:

- alert: TiKV_GC_can_not_work
expr: sum(increase(tikv_gcworker_gc_tasks_vec{task="gc"}[1d])) < 1 and (sum(increase(tikv_gc_compaction_filter_perform[1d])) < 1 and sum(increase(tikv_engine_event_total{db="kv", cf="write", type="compaction"}[1d])) >= 1)
for: 1m
for: 5m
labels:
env: ENV_LABELS_ENV
level: emergency
Expand Down

0 comments on commit 29c4807

Please sign in to comment.