Alerting available in Core
Purpose
Gitlab's Holiday gift to the community was to move the Three Pillars of Observability to Core. This includes Metrics, Logging, and Tracing as well as Alerting The link to the blog post can be found here. At a high level, we chose to do beause:
- It is part of our Stewardship model
- Observability belongs in Core
- We want your feedback on Monitoring
This is an implementation issue to move Alerting to Core.
Deliverable
Alerting functionality will be available for all pricing tiers once released.
Implementation details
The linked (sub)issues can be implemented in the following order:
The generic alerts endpoint
- Move PrometheusMetric class from EE to CE #199995 (closed)
- Move NotificationPayloadParser from EE to CE #200007 (closed)
- Move User.alert_bot from EE to CE #200006 (closed)
- Move PrometheusAlert from EE to CE #199997 (closed)
- Move Alert class from EE to CE #200005 (closed)
- Move ProcessAlertWorker and CreateIssueService from EE to CE #200008 (closed)
- Move /alerts/notify.json endpoint from EE to CE #200010 (closed)
- Move ErrorTracking->Incidents from EE to CE #200011 (closed)
- Move Alerts service page from EE to CE #200012 (closed)
Prometheus-specific alerts
- Move #auto_resolve_prometheus_alert methods from EE to CE #210524 (closed)
- Move Issue.order_created_at_desc scope from EE to CE #210526 (closed)
- Move NotificationService#prometheus_alerts_fired and its dependencies from EE to CE #210527 (closed)
- Move ProjectAlertingSettings from EE to CE #210529 (closed)
- Move Application::Prometheus#alert_manager_token from CE to EE #210530 (closed)
- Move Alert services from EE to CE #210534 (closed)
- Move PrometheusAlertSerializer from EE to CE #210535 (closed)
- Move GitlabAlertEmbedService from EE to CE #210536 (closed)
- Move Prometheus-Cluster classes from EE to CE #210539 (closed)
- Move read_prometheus_alerts policy from EE to CE #210540 (closed)
- Move OperationsController#reset_alerting_token from EE to CE #210541 (closed)
- Move CreateEventService and ProcessPrometheusAlertWorker from EE to CE #210531 (closed)
- Move Alert::NotifyService from EE to CE #210532 (closed)
- Move AlertsController from EE to CE #210537 (closed)
- Move Prometheus alerts from EE to CE #210542 (closed)
Issues 1-11 have no blockers and can be implemented in any order.
Edited by Sarah Waldner