mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 17:07:24 +08:00
_data/rules.yml: Added volume full in four days alert rule.
This commit is contained in:
parent
3ccf6ae3d0
commit
c7ca57f57f
1 changed files with 4 additions and 0 deletions
|
|
@ -300,6 +300,10 @@ services:
|
|||
description: Volume is almost full (< 10% left)
|
||||
query: 'kubelet_volume_stats_available_bytes / kubelet_volume_stats_capacity_bytes * 100 < 10'
|
||||
severity: warning
|
||||
- name: Volume full in four days
|
||||
description: "{{ $labels.namespace }}/{{ $labels.persistentvolumeclaim }} is expected to fill up within four days. Currently {{ printf '%0.2f' $value }}% is available."
|
||||
query: '100 * (kubelet_volume_stats_available_bytes / kubelet_volume_stats_capacity_bytes) < 15 and predict_linear(kubelet_volume_stats_available_bytes[6h], 4 * 24 * 3600) < 0'
|
||||
severity: critical
|
||||
|
||||
- name: Nomad
|
||||
exporters:
|
||||
|
|
|
|||
Loading…
Reference in a new issue