Skip to content

Commit f33da13

Browse files
renamed alert and downgraded to warning
1 parent b125187 commit f33da13

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

operator/docs/lokistack/sop.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ The schema configuration does not contain the most recent schema version and nee
366366

367367
- Add a new object storage schema V13 with a future EffectiveDate
368368

369-
## Lokistack Components Not Ready
369+
## Lokistack Components Not Ready Warning
370370

371371
### Impact
372372

@@ -378,7 +378,7 @@ The LokiStack reports that some components have not reached the `Ready` state. T
378378

379379
### Severity
380380

381-
`Critical`
381+
`Warning`
382382

383383
### Access Required
384384

operator/internal/manifests/internal/alerts/prometheus-alerts.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,17 +209,17 @@ groups:
209209
for: 1m
210210
labels:
211211
severity: warning
212-
- alert: LokistackComponentsNotReady
212+
- alert: LokistackComponentsNotReadyWarning
213213
annotations:
214214
description: |-
215215
The LokiStack "{{ $labels.stack_name }}" in namespace "{{ $labels.stack_namespace }}" has components that are not ready.
216216
summary: "One or more LokiStack components are not ready."
217-
runbook_url: "[[ .RunbookURL ]]#Lokistack-Pending-Components"
217+
runbook_url: "[[ .RunbookURL ]]#Lokistack-Components-Not-Ready-Warning"
218218
expr: |
219219
sum (
220220
lokistack_status_condition{reason="ReadyComponents", status="false"}
221221
) by (stack_name, stack_namespace)
222222
> 0
223223
for: 10m
224224
labels:
225-
severity: critical
225+
severity: warning

operator/internal/manifests/internal/alerts/testdata/test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,13 +198,13 @@ tests:
198198
summary: Loki is discarding samples during ingestion because they fail validation.
199199
runbook_url: "[[ .RunbookURL]]#Loki-Discarded-Samples-Warning"
200200
- eval_time: 26m
201-
alertname: LokistackComponentsNotReady
201+
alertname: LokistackComponentsNotReadyWarning
202202
exp_alerts:
203203
- exp_labels:
204204
stack_namespace: my-ns
205205
stack_name: mystack
206-
severity: critical
206+
severity: warning
207207
exp_annotations:
208208
description: 'The LokiStack "mystack" in namespace "my-ns" has components that are not ready.'
209209
summary: "One or more LokiStack components are not ready."
210-
runbook_url: "[[ .RunbookURL ]]#Lokistack-Pending-Components"
210+
runbook_url: "[[ .RunbookURL ]]#Lokistack-Components-Not-Ready-Warning"

0 commit comments

Comments
 (0)