]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
monitoring: fix CephPgImbalance alert rule expression 66829/head
authorAashish Sharma <Aashish.Sharma1@ibm.com>
Thu, 11 Dec 2025 08:38:11 +0000 (14:08 +0530)
committerAashish Sharma <aashish@li-e9bf2ecc-2ad7-11b2-a85c-baf05c5182ab.ibm.com>
Thu, 8 Jan 2026 04:55:13 +0000 (10:25 +0530)
commitd1c4c57e04aa99742e718350026c9d328eced40d
tree37d11eadd531d455b7d290d1be64d8fb422f8808
parent74ee69dfe205e4e6e7ece75bb4101e2976318440
monitoring: fix CephPgImbalance alert rule expression

The alert CephPGImbalance doesn't take any device classes configured into account. As a result, there can be false positives when using mixed-size OSD disks.
Ref: https://github.com/rook/rook/discussions/13126#discussioncomment-10043490

Fixes: https://tracker.ceph.com/issues/69690
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 5b4f7373655fa829af359d6e3cc61416964a97f0)

Conflicts:
monitoring/ceph-mixin/prometheus_alerts.yml (remove cluster
label from alert since its not there in squid)
monitoring/ceph-mixin/tests_alerts/test_alerts.yml (remove
cluster label from the alert since its not there in squid)
monitoring/ceph-mixin/prometheus_alerts.yml
monitoring/ceph-mixin/tests_alerts/test_alerts.yml