[piraeus-operator] Split LINSTOR controller availability and metrics alerts
Signed-off-by: sasha-sup <alexsup4ik@gmail.com>
This commit is contained in:
parent
4a92d7753c
commit
a052a650b0
1 changed files with 11 additions and 3 deletions
|
|
@ -7,14 +7,22 @@ spec:
|
|||
groups:
|
||||
- name: linstor.rules
|
||||
rules:
|
||||
- alert: linstorControllerOffline
|
||||
- alert: linstorControllerUnavailable
|
||||
annotations:
|
||||
description: |
|
||||
LINSTOR Controller is not reachable.
|
||||
expr: up{job="linstor-controller"} == 0
|
||||
LINSTOR Controller deployment has no available replicas.
|
||||
expr: kube_deployment_status_replicas_available{namespace="cozy-linstor",deployment="linstor-controller"} < 1
|
||||
for: 3m
|
||||
labels:
|
||||
severity: critical
|
||||
- alert: linstorControllerMetricsScrapeFailing
|
||||
annotations:
|
||||
description: |
|
||||
LINSTOR Controller metrics endpoint is not being scraped successfully.
|
||||
expr: up{job="linstor-controller"} == 0
|
||||
for: 10m
|
||||
labels:
|
||||
severity: warning
|
||||
- alert: linstorSatelliteErrorRate
|
||||
annotations:
|
||||
description: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue