We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have this alert expression which I'd like to override:
- alert: BlackboxSlowProbe expr: 'avg_over_time(probe_duration_seconds[2m]) > 5'
The override looks like this:
- alert: BlackboxSlowProbe_slow override: ["BlackboxSlowProbe"] expr: 'avg_over_time(probe_duration_seconds{instance=~"84.200.69.80|9.9.9.9|example.de:22"}[2m]) > 5'
But the resulted alerts look like this:
First, the additional new rule, where the expr is fine:
- alert: BlackboxSlowProbe_slow expr: avg_over_time(probe_duration_seconds{instance=~"84.200.69.80|9.9.9.9|example.de:22"}[2m]) > 5
But second, the overridden rule, where the label selector is wrongly placed:
- alert: BlackboxSlowProbe expr: avg_over_time(probe_duration_seconds[2m]){instance!~"84.200.69.80|9.9.9.9|example.de:22"} > 5
The text was updated successfully, but these errors were encountered:
I run into this today, if you wish to resolve this you can easily just add {} to the query
{}
- alert: BlackboxSlowProbe expr: 'avg_over_time(probe_duration_seconds{}[2m]) > 5'
Sorry, something went wrong.
No branches or pull requests
I have this alert expression which I'd like to override:
The override looks like this:
But the resulted alerts look like this:
First, the additional new rule, where the expr is fine:
But second, the overridden rule, where the label selector is wrongly placed:
The text was updated successfully, but these errors were encountered: