Created
May 31, 2020 23:26
-
-
Save s-chb/54fdea86b2f5987af96815e170592618 to your computer and use it in GitHub Desktop.
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
| groups: | |
| - name: alert.rules | |
| rules: | |
| - alert: InstanceDown | |
| expr: up == 0 | |
| for: 1m | |
| labels: | |
| severity: "critical" | |
| annotations: | |
| summary: "Endpoint {{ $labels.instance }} down" | |
| description: "{{ $labels.instance }} of job {{ $labels.job }} has been down for more than 1 minutes." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment