Skip to content

Alerting Overview

Alerting turns your observability data into action. Define the conditions that matter — an error spike in your logs, a latency regression across traces, a shrinking error budget — and the stack notifies your responders before those conditions reach users.

Every alert follows the same path, whether it started from a log query or a metric:

  • Rule — a query that runs on a schedule. A log rule queries your OpenSearch indices with PPL; a metric rule queries Prometheus with PromQL.
  • Trigger — a condition on the rule’s results that decides when to fire (for example, “error count over the last 5 minutes exceeds 100”).
  • Alert — an active instance of a fired trigger. One rule can fan out into many alerts — one per service, host, or other dimension in the query.
  • Notification — where a firing alert is routed: Slack, PagerDuty, email, or a custom webhook.

Firing alerts from every rule land in one place — the Unified Alerts View — so responders never have to know which engine produced an alert.

You alert on two kinds of data, and the stack has a rule type for each:

Rule typeRuns onWritten inBest for
Log rulesOpenSearch indices — logs and tracesPPLError-log spikes, trace-count thresholds, per-service conditions — anything you can query over your indexed telemetry
Metric rulesPrometheus time seriesPromQLMetric thresholds, rate-based and RED-method alerts, SLO burn-rate alerts

Most teams run both, and both are created in the Unified Alerts View: log rules for anything indexed in OpenSearch, metric rules for anything in Prometheus. Log rules are written in PPL — the same piped language you already use in Discover — so if you can query it, you can alert on it.

SignalDefine it as
Error-log spikes, trace counts, per-service conditions — anything indexed in OpenSearchLog rule (PPL)
Metric thresholds, rate-based alerts, RED-method alertsMetric rule (Prometheus PromQL)
Reliability targets and error-budget burnSLO (deploys PromQL burn-rate rules for you)
Unexpected deviations without a fixed thresholdAnomaly detector
A metric trending toward a limitForecast