[prometheus] Cpu usage warning only if >10mn

certbot_on_virtu
Alexandre Iooss 2019-09-30 19:59:03 +02:00
parent d01b9f05ee
commit a720fc6dc5
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ groups:
# Alert for high CPU usage
- alert: CpuUsage
expr: ((100 - avg by (instance) (irate(node_cpu{mode="idle"}[5m])) * 100) or (100 - avg by (instance) (irate(node_cpu_seconds_total{mode="idle"}[5m])) * 100)) > 75
for: 5m
for: 10m
labels:
severity: warning
annotations: