x-pack/platform/plugins/shared/alerting_v2/README.md
Alerting v2 is an ES|QL-first, append-only alerting plugin. It owns the rule model, rule execution runtime, alert lifecycle tracking, notification policies, alert actions, and the management UI used to work with all of them.
If you want the system architecture, read server/README.md first. That document is the main map for how the plugin fits together.
If you want implementation detail for one subsystem, continue with:
| Area | Document |
|---|---|
| High-level plugin architecture | server/README.md |
| Rule execution pipeline | server/lib/rule_executor/README.md |
| Alert lifecycle / episodes | server/lib/director/README.md |
| Notification dispatch pipeline | server/lib/dispatcher/README.md |
| Elasticsearch resources and schemas | server/resources/README.md |
| Path | Purpose |
| --------------------------- | --------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| public/ | Management UI for rules, alerts/episodes, and notification policies. |
| server/routes/ | HTTP APIs for rules, alert actions, notification policies, and suggestions. |
| server/saved_objects/ | Persisted models and mappings for rules and notification policies. |
| server/lib/rule_executor/ | Per-rule Task Manager execution pipeline. |
| server/lib/director/ | Episode state engine for alert rules. |
| server/lib/dispatcher/ | Asynchronous notification matching, throttling, and delivery. |
| server/resources/ | Data streams and ES | QL views (.rule-events, .alert-actions, alert episode views). |
| server/setup/ | Dependency injection, task registration, routes, and plugin startup wiring. |
.rule-events..alert-actions, evaluates notification policies, dispatches eligible work, and writes outcome/action history back to .alert-actions.server/lib/rule_executor/README.mdserver/lib/director/README.mdserver/lib/dispatcher/README.mdserver/resources/README.mdserver/routes/ and server/saved_objects/ together with the relevant subsystem docs