Last active
June 5, 2019 22:41
-
-
Save rafaeljesus/ad91f4dc55d5b4f744d04faa28b064ff to your computer and use it in GitHub Desktop.
prom composed slo
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
- record: prometheus_infrastructure_team:up:max_avg_over_time5m | |
expr: > | |
max ( | |
avg_over_time ( | |
up{job="prometheus-infra"}[5m] | |
) | |
) | |
- record: prometheus_infrastructure_team:up:avg_over_time4w | |
expr: > | |
avg_over_time ( | |
prometheus_infrastructure_team:up:max_avg_over_time5m[4w] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment