-
Story
-
Resolution: Done
-
Critical
-
None
-
OBSDOCS (Sep 11 - Oct 2) #242, OBSDOCS (Oct 2 - Oct 23) #243
Goals
- Enable OpenShift Application owners to create alerting rules based on logs scoped only for applications they have access to.
- Provide support for notifying on firing alerts in OpenShift Console
Motivation
Since OpenShift 4.6, application owners can configure alerting rules based on metrics themselves as described in User Workload Monitoring (UWM) enhancement. The rules are defined as PrometheusRule resources and can be based on platform and/or application metrics.
To expand the alerting capabilities on logs as an observability signal, cluster admins and application owners should be able to configure alerting rules as described in the Loki Rules docs and in the Loki Operator Ruler upstream enhancement.
AlertingRule CRD fullfills the requirement to define alerting rules for Loki similar to PrometheusRule.
RulerConfig CRD fullfills the requirement to connect the Loki Ruler component to notify a list of Prometheus AlertManager hosts on firing alerts.
Alternatives
- Use only the RecordingRule CRD to export logs as metrics first and rely on present cluster-monitoring/user-workload-monitoring alerting capabilities.
Acceptance Criteria
- OpenShift Application owners receive notifications for application logs-based alerts on the same OpenShift Console Alerts view as with metrics.
Risk and Assumptions
- Assuming that the present OpenShift Console implementation for Alerts view is compatible to list and manage alerts from Alertmanager which originate from Loki.
- Assuming that the present UWM tenancy model applies to the logs-based alerts.
Documentation Considerations
Copied from above:
To expand the alerting capabilities on logs as an observability signal, cluster admins and application owners should be able to configure alerting rules as described in the Loki Rules docs and in the Loki Operator Ruler upstream enhancement.
Additional Notes
- Enhancement proposal: Cluster Logging: Logs-Based Alerts
- depends on
-
OBSDOCS-558 Restructure logging alerts section
- Closed
- documents
-
LOG-3548 Loki - Developer Logs-based Alerts
- Closed
- links to
- mentioned in
-
Page Loading...
1.
|
Docs Tracker | Closed | Unassigned | ||
2.
|
PX Tracker | Closed | Unassigned | ||
3.
|
QE Tracker | Closed | Unassigned | ||
4.
|
TE Tracker | Closed | Unassigned |