ceph: change CephAbsentMgr to use 'up' query

Instead of using 'absent' query, we are trying to use 'up' which should
provide us with the needed 'namespace' field in the resultant metrics

Signed-off-by: aruniiird <amohan@redhat.com>
This commit is contained in:
aruniiird committed 2021-09-30 01:12:46 +05:30
1 parent 2826bc99df
commit 854eb0113f
1 file changed
+1 -1
@@ -42,7 +42,7 @@ spec:
severity_level: critical
storage_type: ceph
expr: |
absent(up{job="rook-ceph-mgr"} == 1)
up{job="rook-ceph-mgr"} == 0
for: 5m
labels:
severity: critical