Hi there,
I have an alert setup using predict_linear.
# Predictive alert for disk filling within 4 hours
- alert: DiskWillFillIn4Hours
expr: predict_linear(wmi_logical_disk_free_bytes[1h], 4 * 3600) < 0
for: 5m
labels:
severity: critical
annotations:
summary: "Instance {{ $labels.instance }} {{ $labels.volume }} storage running out"
description: "{{ $labels.instance }} is predicated that the {{ $labels.volume }} will run out at the current rate in under 4 hours."
The alert has triggered because there was a dip in available storage, however has not continued to decrease. My problem is that the alert keeps on running, even though the disk space is no longer decreasing.
How can I improve the accuracy of this so that it does not alert if there is not a continued drop in available free storage?
