Skip to content

Instantly share code, notes, and snippets.

@rafaeljesus
Last active May 10, 2019 13:41
Show Gist options
  • Save rafaeljesus/55aa84070c8c3839726cb0959fb7615e to your computer and use it in GitHub Desktop.
Save rafaeljesus/55aa84070c8c3839726cb0959fb7615e to your computer and use it in GitHub Desktop.
Prom slo viol alert
rules:
- alert: PrometheusSLOViolation
annotations:
description: 'Prometheus SLO is violated {{humanize $value}}%'
runbook_path: platform/prometheus-slo-violation.md
expr: prometheus:composed_slo4w < 0.999 and (hour() > 9 < 18 and day_of_week() > 0 < 5)
labels:
severity: page
team: platform
slack: platform-alerts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment