Skip to content

Commit

Permalink
fixup post review
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Oct 8, 2024
1 parent 12ed859 commit dcac175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monitoring/mongodb/alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ groups:

- alert: MongoDbRSNotSynced
expr: |
avg by(rs_nm)(count by (rs_nm, pod)(mongodb_rs_members_state{namespace="${namespace}", pod=~"${service}.*", member_state="SECONDARY"})) != (${replicas} - 1)
floor(avg by(rs_nm)(count by (rs_nm, pod)(mongodb_rs_members_state{namespace="${namespace}", pod=~"${service}.*", member_state="SECONDARY"}))) != (${replicas} - 1)
for: 10m
labels:
severity: warning
Expand Down

0 comments on commit dcac175

Please sign in to comment.