Last active
November 23, 2020 06:47
-
-
Save FUSAKLA/7f2115e9d18fdc0a48221f29411167dd to your computer and use it in GitHub Desktop.
promruval example Prometheus rules
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
groups: | |
- name: test-group | |
rules: | |
- alert: TrafficDifference1w | |
expr: | | |
abs( | |
rate(http_requests_total{dc="us-west"}[5m]) | |
- | |
rate(http_requests_total{dc="us-west"}[5m] offset 7d) | |
) > 1000 | |
labels: | |
severity: high | |
annotations: | |
playbook: https://fusakla.cz/playbook |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment