mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-24 02:17:00 +08:00
Publish
This commit is contained in:
parent
11a78f0f06
commit
4e49e77d29
1 changed files with 3 additions and 4 deletions
|
|
@ -64,10 +64,9 @@ groups:
|
||||||
labels:
|
labels:
|
||||||
severity: info
|
severity: info
|
||||||
annotations:
|
annotations:
|
||||||
summary: Container change CPU utilization (instance {{ $labels.instance }})
|
summary: Container high low change CPU usage (instance {{ $labels.instance }})
|
||||||
description: "This alert rule monitors the absolute change in CPU usage within a time window and triggers an alert when the change exceeds 25%.\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
description: "This alert rule monitors the absolute change in CPU usage within a time window and triggers an alert when the change exceeds 25%.\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||||
|
|
||||||
|
|
||||||
- alert: ContainerLowCpuUtilization
|
- alert: ContainerLowCpuUtilization
|
||||||
expr: '(sum(rate(container_cpu_usage_seconds_total{container!=""}[5m])) by (pod, container) / sum(container_spec_cpu_quota{container!=""}/container_spec_cpu_period{container!=""}) by (pod, container) * 100) < 20'
|
expr: '(sum(rate(container_cpu_usage_seconds_total{container!=""}[5m])) by (pod, container) / sum(container_spec_cpu_quota{container!=""}/container_spec_cpu_period{container!=""}) by (pod, container) * 100) < 20'
|
||||||
for: 7d
|
for: 7d
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue