You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- alert: '[OpenShift-state-metrics] CPU Resource Request Quota Usage'
15
+
expr: |
16
+
sum by (name) (openshift_clusterresourcequota_usage{resource="requests.cpu", type="used"})/sum by (name) (openshift_clusterresourcequota_usage{resource="requests.cpu", type="hard"})> 0.90
17
+
for: 10m
18
+
labels:
19
+
severity: critical
20
+
annotations:
21
+
description: Resource request CPU usage is over 90% resource quota.
22
+
- alert: '[OpenShift-state-metrics] CPU Resource Limit Quota Usage'
23
+
expr: |
24
+
sum by (name) (openshift_clusterresourcequota_usage{resource="limits.cpu", type="used"})/sum by (name) (openshift_clusterresourcequota_usage{resource="limits.cpu", type="hard"})> 0.90
25
+
for: 10m
26
+
labels:
27
+
severity: critical
28
+
annotations:
29
+
description: Resource limit CPU usage is over 90% resource limit quota.
sum by (name) (openshift_clusterresourcequota_usage{resource="requests.memory", type="used"})/sum by (name) (openshift_clusterresourcequota_usage{resource="requests.memory", type="hard"})> 0.85
33
+
for: 10m
34
+
labels:
35
+
severity: critical
36
+
annotations:
37
+
description: Resource request memory usage is over 90% resource quota.
sum by (name) (openshift_clusterresourcequota_usage{resource="limits.memory", type="used"})/sum by (name) (openshift_clusterresourcequota_usage{resource="limits.memory", type="hard"})> 0.85
41
+
for: 10m
42
+
labels:
43
+
severity: critical
44
+
annotations:
45
+
description: Resource limit memory usage is over 90% resource limit quota.
46
+
- alert: '[OpenShift-state-metrics] Routes with issues'
47
+
expr: |
48
+
openshift_route_status{status != 'True'} > 0
49
+
for: 10m
50
+
labels:
51
+
severity: critical
52
+
annotations:
53
+
description: A route status is in error and is having issues.
54
+
- alert: '[OpenShift-state-metrics] Buid Processes with issues'
55
+
expr: |
56
+
sum by (build, buildconfig) (openshift_build_status_phase_total{build_phase=~"failed|error") > 0
57
+
for: 10m
58
+
labels:
59
+
severity: critical
60
+
annotations:
61
+
description: A build process is in error or failed status.
0 commit comments