mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 08:57:19 +08:00
Merge pull request #163 from vfiset/remove-mongodb-oplog
remove replset_oplog based alerts
This commit is contained in:
commit
6e99bd59cf
1 changed files with 0 additions and 4 deletions
|
|
@ -572,10 +572,6 @@ groups:
|
|||
description: Mongodb replication lag is more than 10s
|
||||
query: 'avg(mongodb_replset_member_optime_date{state="PRIMARY"}) - avg(mongodb_replset_member_optime_date{state="SECONDARY"}) > 10'
|
||||
severity: critical
|
||||
- name: MongoDB replication headroom
|
||||
description: MongoDB replication headroom is <= 0
|
||||
query: '(avg(mongodb_replset_oplog_tail_timestamp - mongodb_replset_oplog_head_timestamp) - (avg(mongodb_replset_member_optime_date{state="PRIMARY"}) - avg(mongodb_replset_member_optime_date{state="SECONDARY"}))) <= 0'
|
||||
severity: critical
|
||||
- name: MongoDB replication Status 3
|
||||
description: MongoDB Replication set member either perform startup self-checks, or transition from completing a rollback or resync
|
||||
query: "mongodb_replset_member_state == 3"
|
||||
|
|
|
|||
Loading…
Reference in a new issue