mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
feat: include cluster info in alert CPUThrottlingHigh (#5956)
This commit is contained in:
parent
349564fd82
commit
03fb97d42f
1 changed files with 2 additions and 2 deletions
|
@ -1158,9 +1158,9 @@
|
||||||
$labels.pod }}.'
|
$labels.pod }}.'
|
||||||
runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-cputhrottlinghigh
|
runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-cputhrottlinghigh
|
||||||
expr: |
|
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 )
|
> ( 25 / 100 )
|
||||||
for: 15m
|
for: 15m
|
||||||
labels:
|
labels:
|
||||||
|
|
Loading…
Reference in a new issue