'Prometheus alert rule for metric incrementing every minute
I have a metric that keeps track of error count. I want to have rule wherein there is an alert when the error count is increasing and is > 100 every minute for the last 5 minutes.
rules:
- alert: Error count greater than threshold
expr: error_count > 100
for: 5m
The above alert just checks if the error count is > 100 for 5 mins, but I want to check if the error count is increasing by 100 every minute. Is that possible to check?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
