Merge pull request #1827 from rajatvig/patch-1

Fix NodeRAIDDegraded to not use a string rule expressions
This commit is contained in:
Ben Kochie 2020-08-30 16:36:56 +02:00 committed by GitHub
commit f07e982c77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -251,7 +251,7 @@
{ {
alert: 'NodeRAIDDegraded', alert: 'NodeRAIDDegraded',
expr: ||| 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, ||| % $._config,
'for': '15m', 'for': '15m',
labels: { labels: {