Last active
March 22, 2017 15:50
-
-
Save eskp/48dbb1b6e89d00068e6f65ec7ce73f85 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALERT InstanceHighCpu | |
IF 100 - (avg by (instance) (irate(node_cpu{mode="idle"}[5m])) * 100) > 90 | |
FOR 20m | |
ANNOTATIONS { | |
summary = "High CPU Usage on {{ $labels.instance }}", | |
description = "CPU usage exceeds threshold (currently {{ $value|humanize }}% in use)", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment