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 Aliaksandr Valialkin
parent 349564fd82
commit 03fb97d42f
No known key found for this signature in database
GPG Key ID: 52C003EE2BCDB9EB

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: