]> git.proxmox.com Git - ceph.git/blobdiff - ceph/monitoring/ceph-mixin/prometheus_alerts.libsonnet
import ceph quincy 17.2.6
[ceph.git] / ceph / monitoring / ceph-mixin / prometheus_alerts.libsonnet
index bed89a8790648e7d10b70f31db33938783c67fd2..7977e4035ecb7b9ff054a1d0a09faa570e6bb791 100644 (file)
             description: '{{ $value }} OSD requests are taking too long to process (osd_op_complaint_time exceeded)',
           },
         },
+        {
+          alert: 'CephDaemonSlowOps',
+          'for': '30s',
+          expr: 'ceph_daemon_health_metrics{type="SLOW_OPS"} > 0',
+          labels: { severity: 'warning', type: 'ceph_default' },
+          annotations: {
+            documentation: 'https://docs.ceph.com/en/latest/rados/operations/health-checks#slow-ops',
+            summary: '{{ $labels.ceph_daemon }} operations are slow to complete',
+            description: '{{ $labels.ceph_daemon }} operations are taking too long to process (complaint time exceeded)',
+          },
+        },
       ],
     },
     {