Skip to content

Commit

Permalink
include selection labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Nemeti committed Nov 8, 2018
1 parent 7df7865 commit 7049c79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alerts/storage_alerts.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
{
alert: 'KubePersistentVolumeErrors',
expr: |||
kube_persistentvolume_status_phase{phase=~"Failed|Pending"} > 0
|||,
kube_persistentvolume_status_phase{phase=~"Failed|Pending",%(prefixedNamespaceSelector)s%(kubeStateMetricsSelector)s} > 0
||| % $._config,
'for': '5m',
labels: {
severity: 'critical',
Expand Down

0 comments on commit 7049c79

Please sign in to comment.