Fix NodeRAIDDegraded to not use a string rule expressions

Signed-off-by: Rajat Vig <rvig@etsy.com>
This commit is contained in:
Rajat Vig 2020-08-28 10:40:49 +01:00 committed by Rajat Vig
parent e51b508428
commit 7dd8adf7ed
No known key found for this signature in database
GPG key ID: 17CFBB6A8F5F136C

View file

@ -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: {