Skip to content

Commit

Permalink
Handle empty ceph_version in ceph_mon_metadata
Browse files Browse the repository at this point in the history
Not empty check to avoid raising misleading alert.

issue: https://bugzilla.redhat.com/show_bug.cgi?id=1970354

Signed-off-by: Gowtham Shanmugasundaram <gshanmug@redhat.com>
  • Loading branch information
GowthamShanmugam committed Oct 12, 2021
1 parent 0e0ccf8 commit 35e51b6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -263,7 +263,7 @@ spec:
severity_level: warning
storage_type: ceph
expr: |
count(count(ceph_mon_metadata{job="rook-ceph-mgr"}) by (ceph_version)) > 1
count(count(ceph_mon_metadata{job="rook-ceph-mgr", ceph_version != ""}) by (ceph_version)) > 1
for: 10m
labels:
severity: warning
Expand Down

0 comments on commit 35e51b6

Please sign in to comment.