Skip to content

Commit

Permalink
Merge pull request #2921 from aruniiird/fix-prom-ocs-rule-parse-issue
Browse files Browse the repository at this point in the history
Fixed an indentation issue in 'prometheus-ocs-rules.yaml' file
  • Loading branch information
openshift-merge-bot[bot] authored Dec 6, 2024
2 parents 7d2b735 + ba02997 commit 61f6999
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions metrics/deploy/prometheus-ocs-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,12 @@ spec:
runbook_url: https://github.com/openshift/runbooks/blob/master/alerts/openshift-container-storage-operator/OdfPoolMirroringImageHealth.md
severity_level: warning
storage_type: ceph
expr: |
(ocs_pool_mirroring_image_health{job="ocs-metrics-exporter"} * on (namespace, managedBy, rados_namespace) group_left() (max by(namespace, managedBy, rados_namespace) (ocs_pool_mirroring_status{job="ocs-metrics-exporter"}))) == 2
for: 1m
labels:
mirroring_image_status: warning
severity: warning
expr: |
(ocs_pool_mirroring_image_health{job="ocs-metrics-exporter"} * on (namespace, managedBy, rados_namespace) group_left() (max by(namespace, managedBy, rados_namespace) (ocs_pool_mirroring_status{job="ocs-metrics-exporter"}))) == 2
for: 1m
labels:
mirroring_image_status: warning
severity: warning
- alert: OdfPoolMirroringImageHealth
annotations:
description: Mirroring image(s) (PV) in the pool {{ $labels.name }} and rados namespace {{ $labels.rados_namespace }} are in
Expand Down

0 comments on commit 61f6999

Please sign in to comment.