ceph: add osd slow ops alert

This commit adds an alert that notifies the users about OSD
requests taking too long to process.

Signed-off-by: Anmol Sachan <anmol13694@gmail.com>
This commit is contained in:
Anmol Sachan committed 2021-03-16 15:40:28 +05:30
1 parent ab50e75e08
commit f84cbb47fe
1 file changed
+12
@@ -175,6 +175,18 @@ spec:
for: 1m
labels:
severity: critical
- alert: CephOSDSlowOps
annotations:
description: '{{ $value }} Ceph OSD requests are taking too long to process.
Please check ceph status to find out the cause.'
message: OSD requests are taking too long to process.
severity_level: warning
storage_type: ceph
expr: |
ceph_healthcheck_slow_ops > 0
for: 30s
labels:
severity: warning
- alert: CephDataRecoveryTakingTooLong
annotations:
description: Data recovery has been active for too long. Contact Support.