From 7dd8adf7edb968669db50d78f311d72d949812cf Mon Sep 17 00:00:00 2001 From: Rajat Vig Date: Fri, 28 Aug 2020 10:40:49 +0100 Subject: [PATCH] Fix NodeRAIDDegraded to not use a string rule expressions Signed-off-by: Rajat Vig --- docs/node-mixin/alerts/alerts.libsonnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/node-mixin/alerts/alerts.libsonnet b/docs/node-mixin/alerts/alerts.libsonnet index 3905c582..5ed86d38 100644 --- a/docs/node-mixin/alerts/alerts.libsonnet +++ b/docs/node-mixin/alerts/alerts.libsonnet @@ -251,7 +251,7 @@ { alert: 'NodeRAIDDegraded', expr: ||| - 'node_md_disks_required - ignoring (state) (node_md_disks{state="active"}) > 0' + node_md_disks_required - ignoring (state) (node_md_disks{state="active"}) > 0 ||| % $._config, 'for': '15m', labels: {