Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculate availability based on firing alerts #35

Open
metalmatze opened this issue Apr 14, 2020 · 0 comments
Open

Calculate availability based on firing alerts #35

metalmatze opened this issue Apr 14, 2020 · 0 comments

Comments

@metalmatze
Copy link
Owner

Let's have a simple helper that takes the days for a given SLO into account and returns the time-based availability.

/cc @krasi-georgiev @rporres @aditya-konarde

An example query can look like this:

1 - sum(sum_over_time(ALERTS{alertstate="firing",severity="critical",service="app"}[7d:1m])) / (60*24*7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant