Created
June 15, 2016 20:50
-
-
Save gmas/63dcaf471c4d8fce74c774800d851608 to your computer and use it in GitHub Desktop.
Prom alerts
This file contains hidden or 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 ELB_errors | |
IF sum(aws_elb_httpcode_elb_5_xx_sum) by (load_balancer_name) > 0 | |
FOR 3m | |
LABELS { severity = "critical" } | |
ANNOTATIONS { | |
summary = "ELB {{$labels.load_balancer_name}} is returning 5xx errors", | |
description = "{{$labels.load_balancer_name}} of job {{$labels.job}} is erroring.", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output:
[FIRING:3] ELB_errors (prod-monitor critical)