Skip to content

Commit 918cc29

Browse files
Update customrules.yaml (#53)
1 parent 00ee864 commit 918cc29

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

charts/ceph-operations/alerts/customrules.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,11 @@ groups:
139139
)
140140
# Server / Service Error Rate (5xx) – per second, per bucket & error
141141
- record: objectstore_server_error_rate
142-
expr: >
143-
(
142+
expr: |
144143
sum by (bucket,project_id,http_status) (
145144
label_replace(
146145
rate(radosgw_errors_detailed{http_status=~"5.."}[5m]),
147146
"project_id", "$1", "tenant", "([a-f0-9]{32})"
148147
)
149148
)
150-
)
151-
OR
152-
vector(0)
153149
{{- end }}

0 commit comments

Comments
 (0)