Skip to content

Commit 1532789

Browse files
committed
Resolve InstallPlanStepAppliedWithWarnings alert after some time.
There is an error in the alert expression that causes the alert to persist indefinitely. The intention of the alert was to fire for several minutes to inform the administration of the warnings. The appropriate response to the alert is to stop installing problematic bundles going forward.
1 parent cd40303 commit 1532789

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy/chart/templates/0000_90_olm_01-prometheus-rule.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ spec:
3030
- name: olm.installplan.rules
3131
rules:
3232
- alert: InstallPlanStepAppliedWithWarnings
33-
expr: sum(sum_over_time(installplan_warnings_total[5m])) > 0
33+
expr: sum(increase(installplan_warnings_total[5m])) > 0
3434
labels:
3535
severity: warning
3636
annotations:

0 commit comments

Comments
 (0)