Fix Prometheus Volume Claim Use Expression

This change updated the expression math so that the threshold value
can be reached.

Change-Id: Iae078d4c78a4403c410ae01e0a13a1dda25d40c7
This commit is contained in:
Steven Fitzpatrick 2019-10-25 15:47:29 -05:00
parent 5fdf050b12
commit 84113626bf

View File

@ -1429,7 +1429,7 @@ conf:
description: 'Pod {{$labels.pod}} in namespace {{$labels.namespace}} has a container terminated for more than 10 minutes'
summary: 'Pod {{$labels.pod}} in namespace {{$labels.namespace}} in error status'
- alert: volume_claim_capacity_high_utilization
expr: (kubelet_volume_stats_used_bytes / kubelet_volume_stats_capacity_bytes) > 80
expr: 100 * kubelet_volume_stats_used_bytes / kubelet_volume_stats_capacity_bytes > 80
for: 5m
labels:
severity: page