Merge "Change the expression of defined alert in prometheus to avoid unnecessary errors"

This commit is contained in:
Zuul 2019-06-19 16:55:46 +00:00 committed by Gerrit Code Review
commit 843db92744

View File

@ -1416,7 +1416,7 @@ conf:
description: 'Pod {{$labels.pod}} in namespace {{$labels.namespace}} has a container terminated for more than 10 minutes' 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' summary: 'Pod {{$labels.pod}} in namespace {{$labels.namespace}} in error status'
- alert: volume_claim_capacity_high_utilization - alert: volume_claim_capacity_high_utilization
expr: (kubelet_volume_stats_available_bytes / kubelet_volume_stats_capacity_bytes) > 0.80 expr: (kubelet_volume_stats_capacity_bytes / kubelet_volume_stats_used_bytes) < 1.25
for: 5m for: 5m
labels: labels:
severity: page severity: page