Skip to content

Commit a052a65

Browse files
committed
[piraeus-operator] Split LINSTOR controller availability and metrics alerts
Signed-off-by: sasha-sup <[email protected]>
1 parent 4a92d77 commit a052a65

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

‎packages/system/piraeus-operator/alerts/piraeus-datastore.yaml‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,22 @@ spec:
77
groups:
88
- name: linstor.rules
99
rules:
10-
- alert: linstorControllerOffline
10+
- alert: linstorControllerUnavailable
1111
annotations:
1212
description: |
13-
LINSTOR Controller is not reachable.
14-
expr: up{job="linstor-controller"} == 0
13+
LINSTOR Controller deployment has no available replicas.
14+
expr: kube_deployment_status_replicas_available{namespace="cozy-linstor",deployment="linstor-controller"} < 1
1515
for: 3m
1616
labels:
1717
severity: critical
18+
- alert: linstorControllerMetricsScrapeFailing
19+
annotations:
20+
description: |
21+
LINSTOR Controller metrics endpoint is not being scraped successfully.
22+
expr: up{job="linstor-controller"} == 0
23+
for: 10m
24+
labels:
25+
severity: warning
1826
- alert: linstorSatelliteErrorRate
1927
annotations:
2028
description: |

0 commit comments

Comments
 (0)