Skip to content

Commit 6efbcc5

Browse files
committed
Add alerting for RadosGW Usage Exporter metrics
1 parent f68ea05 commit 6efbcc5

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

etc/kayobe/kolla/config/prometheus/ceph.rules

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,15 @@ groups:
205205
description: "{{ $value }} OSD requests are taking too long to process (osd_op_complaint_time exceeded)"
206206

207207
{% endraw %}
208+
209+
{% if stackhpc_enable_radosgw_usage_exporter | bool %}
210+
- name: rgws
211+
rules:
212+
- alert: RadosGWUsageExporterNotServingMetrics
213+
expr: absent(radosgw_user_metadata)
214+
for: 5m
215+
labels:
216+
severity: critical
217+
annotations:
218+
description: "The RadosGW Usage Exporter has not been serving RGW metrics for more than 5 minutes. The exporter may be unable to reach the RGWs."
219+
{% endif %}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
features:
3+
- |
4+
Added a new alert ``RadosGWUsageExporterNotServingMetrics``, which will
5+
fire when the RadosGW USage Exporter fails to serve RGW metrics for more
6+
than 5 minutes.

0 commit comments

Comments
 (0)