mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 08:57:19 +08:00
Fix Etcd rule: Insufficient Members
This commit is contained in:
parent
97225efc72
commit
a72feb4ff6
1 changed files with 1 additions and 1 deletions
|
|
@ -484,7 +484,7 @@ services:
|
|||
- rules:
|
||||
- name: Insufficient Members
|
||||
description: Etcd cluster should have an odd number of members
|
||||
query: "count(etcd_server_id) > (count(etcd_server_id) / 2 - 1)"
|
||||
query: "count(etcd_server_id) % 2 == 0"
|
||||
severity: error
|
||||
- name: No Leader
|
||||
description: Etcd cluster have no leader
|
||||
|
|
|
|||
Loading…
Reference in a new issue