Tune brusnika stage CPU throttling alert
This commit is contained in:
parent
be808a600a
commit
849e0bfd9e
@ -51,6 +51,14 @@ spec:
|
|||||||
- op: replace
|
- op: replace
|
||||||
path: /spec/groups/0/rules/4/labels/cluster
|
path: /spec/groups/0/rules/4/labels/cluster
|
||||||
value: brusnika-stage
|
value: brusnika-stage
|
||||||
|
- op: replace
|
||||||
|
path: /spec/groups/0/rules/4/expr
|
||||||
|
value: >-
|
||||||
|
(
|
||||||
|
sum(rate(container_cpu_cfs_throttled_periods_total{container!="",namespace!="kube-system"}[15m])) by (container, pod, namespace, scope)
|
||||||
|
/
|
||||||
|
sum(rate(container_cpu_cfs_periods_total{container!="",namespace!="kube-system"}[15m])) by (container, pod, namespace, scope)
|
||||||
|
) > 0.80
|
||||||
- op: replace
|
- op: replace
|
||||||
path: /spec/groups/0/rules/5/labels/cluster
|
path: /spec/groups/0/rules/5/labels/cluster
|
||||||
value: brusnika-stage
|
value: brusnika-stage
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user