feat: include cluster info in alert CPUThrottlingHigh (#5956)

This commit is contained in:
Tien M. Nguyen 2024-03-12 11:51:32 +01:00 committed by GitHub
parent df5b73ed0d
commit f5115c8f1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1158,9 +1158,9 @@
$labels.pod }}.'
runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-cputhrottlinghigh
expr: |
sum(increase(container_cpu_cfs_throttled_periods_total{container!="", }[5m])) by (container, pod, namespace)
sum(increase(container_cpu_cfs_throttled_periods_total{container!="", }[5m])) by (cluster, container, pod, namespace)
/
sum(increase(container_cpu_cfs_periods_total{}[5m])) by (container, pod, namespace)
sum(increase(container_cpu_cfs_periods_total{}[5m])) by (cluster, container, pod, namespace)
> ( 25 / 100 )
for: 15m
labels: