Skip to content

Commit 4bf64d7

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

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
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: 4 additions & 4 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
223-
for: 10m
223+
for: 15m
224224
labels:
225-
severity: critical
225+
severity: warning

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ tests:
6767
values: '0x5 0+120x25 3000'
6868

6969
- series: 'lokistack_status_condition{stack_name="mystack", stack_namespace="my-ns", reason="ReadyComponents", status="false"}'
70-
values: '0+0x15 1+0x10'
70+
values: '1+0x25'
7171

7272
alert_rule_test:
7373
- eval_time: 16m
@@ -197,14 +197,14 @@ tests:
197197
Samples are discarded because of "line_too_long" at a rate of 2 samples per second.
198198
summary: Loki is discarding samples during ingestion because they fail validation.
199199
runbook_url: "[[ .RunbookURL]]#Loki-Discarded-Samples-Warning"
200-
- eval_time: 26m
201-
alertname: LokistackComponentsNotReady
200+
- eval_time: 16m
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)