Add alerting prediction rules
This commit is contained in:
6
tmpl/predict-rules.yml
Normal file
6
tmpl/predict-rules.yml
Normal file
@ -0,0 +1,6 @@
|
||||
groups:
|
||||
- name: PredictRules
|
||||
rules:
|
||||
- alert: disk_full_within_6_hours
|
||||
expr: predict_linear(node_filesystem_free{job="%%{job_name_node}",mountpoint="/"}[1h], 6 * 3600) < 0
|
||||
for: 5m
|
Reference in New Issue
Block a user