Managing Alerts
The alert system monitors PostgreSQL metrics and notifies users when a metric exceeds its threshold or the alerter detects an anomaly. This guide explains how alerts appear in the web interface and how to manage the alert lifecycle.
Viewing Alerts
The Active Alerts panel displays active alerts for the scope selected in the
cluster navigator. Alerts appear grouped by severity and category. Each alert
shows the rule name, the server where the alert originated, and a label that
identifies the alert type. A threshold alert also shows the current metric
value and the threshold; other alerts show a description instead. A system
alert reports a fault in the Workbench itself, such as a failing anomaly
detection provider, rather than a condition on a monitored server; the alert
carries the System type label and shows AI DBA Workbench in place of a
server name.
Hint
When AI features are enabled, each alert in the Active Alerts panel
other than a system alert displays a brain icon that triggers an
AI-powered analysis. The analysis examines the alert context, historical
patterns, and server configuration to produce actionable remediation
guidance. See AI Alert Analysis for details on
this feature.
Selecting a different node in the cluster navigator updates the alert list to reflect that scope. Estate-wide alerts appear when you don't select a specific node.
Each dashboard identifies its alert list with a bell icon and an
Active Alerts label; a count badge shows the number of current alerts. Use
the chevron on the right side of the heading to expand or collapse the list.
When no alerts are active, the panel displays a green banner with the message
No active alerts.

Severity Levels
Alerts use three severity levels to indicate urgency:
- A critical alert indicates a severe issue that requires immediate attention.
- A warning alert indicates a potential problem that needs prompt investigation.
- An info alert indicates a noteworthy condition for general awareness.
The severity level determines the visual styling of each alert in the
Active Alerts panel. Critical alerts appear with red indicators; warning
alerts appear with amber indicators; info alerts appear with blue indicators.
Alert Lifecycle
Each alert progresses through a defined set of states from creation to resolution.

- Active: The alerter creates an active threshold alert when a metric
violates a threshold on
threshold.trigger_countconsecutive samples (two by default). Anomaly, metric staleness, probe unavailable, and connection error alerts do not use this count. The alert remains active until the condition resolves or an operator takes action; the system updates the metric value on each evaluation cycle while the alert stays active. - Acknowledged: An operator acknowledges an active alert to indicate that
the issue is under investigation. Acknowledged alerts remain visible in the
Active Alertspanel but move to a separate section; acknowledging an alert does not resolve the underlying condition. - Cleared: The alerter automatically clears an alert when the triggering
condition returns to normal. For a threshold alert, the alert cleaner runs
every 30 seconds and re-evaluates active alerts; when a metric value no
longer violates the threshold on
threshold.clear_countconsecutive samples (three by default), the system marks the alert as cleared and records the timestamp. Clearing Alerts describes how other alert types clear.
To acknowledge an alert, click the acknowledge icon, a green checkmark, on an
active alert to open the Acknowledge Alert dialog.

Enter a reason for the acknowledgment in the Reason field, such as
Investigating or Known issue. Check Mark as false positive if the alert
does not represent a real issue. The alert moves to the acknowledged section of
the status panel once you click Acknowledge. The system records the operator,
the reason, the false positive flag, and the timestamp.
Acknowledging an alert signals to other operators that someone is investigating the issue; it does not resolve the underlying condition.
Clearing Alerts
The alerter clears threshold alerts and anomaly alerts in different ways, and a gap in the collected data never clears an alert on its own.
An anomaly alert has no threshold, so the alerter clears an active anomaly
alert when the metric returns to its normal range. The anomaly detector checks
the metric on each evaluation, every minute by default, and clears the alert
when three newly collected samples in a row fall within the normal range; the
anomaly.tier1.clear_count option in the alerter configuration changes that
number. Most probes collect every five or ten minutes, so an anomaly alert
usually clears ten to twenty minutes after the first normal sample. Until then,
the alert shows the latest value and anomaly score, and its severity can rise
but does not fall. The alerter sends the usual clear notification and raises no
new anomaly alert for the same metric and database on that server for five
minutes afterwards. The alerter does not clear an acknowledged anomaly alert
this way.
After an upgrade, the alerter closes any active anomaly alert that an earlier release raised and that the current release can no longer check, such as an alert on a metric that no longer has a baseline or an alert whose database scope no longer matches its metric. The alerter sends no notification when it closes such an alert, and the alert description explains why the alert closed.
When a metric that normally reports a value for every monitored connection stops returning one, the alerter treats the gap as missing data rather than recovery. The alert stays active, and the metric staleness rule reports the probe that stopped.
Alerts on metrics that report only while the condition holds, such as an
inactive replication slot or a blocked session, clear when the metric goes
quiet, provided that the probe behind the metric is still collecting for the
connection. Each new collection that reports no value counts as one normal
sample, so a threshold alert clears after threshold.clear_count such
collections and an anomaly alert clears after anomaly.tier1.clear_count such
collections.
A metric staleness alert that has already fired follows the same principle. When the probe behind the alert becomes unavailable, because a monitored server no longer offers the extension the probe needs or because the probe run timed out, the alert stays active and its description changes to report that collection has stopped and why. The alert title does not change, so the alert remains recognizable in notification history; the original description returns when the probe collects again. When an operator disables the probe or stops monitoring the connection, the alerter treats the action as deliberate and clears the staleness alert. The alerter restores the original description as the alert clears, so the cleared alert does not report that collection has stopped.
The staleness rule holds an existing alert open, but it does not raise a new
alert for a probe that is unavailable. A probe that stays available but stops
collecting can still raise a staleness alert when it exceeds the threshold. The
separate probe_unavailable rule reports the stopped probe; the rule raises a
warning alert as soon as a probe that had been collecting stops being
available. That moment normally arrives long before a staleness alert could
fire, so the two rules cover different halves of the same failure. A probe
whose extension was never installed does not raise the alert, which keeps a
permanent alert off every probe that has never run.
The alerter clears a probe unavailable alert in the following cases:
- The probe collects again.
- An operator retires the probe by disabling it or by no longer monitoring the connection.
- The probe no longer reports its availability for that connection.
A held staleness alert and a probe unavailable alert can be open on the same probe at the same time. The staleness alert reports that the data went stale, the probe unavailable alert reports why, and each alert clears on its own terms.
Viewing Acknowledgments and Past Alerts
The Active Alerts panel displays the acknowledgment reason beneath each
acknowledged alert. The entry shows the operator's name followed by the reason
text; a False Positive label appears next to alerts that an operator flagged
as false positives.

The Event Timeline also displays this information. Expand an alert's
acknowledgment event in the timeline to view the operator, the reason, and the
false positive flag.
Use the Event Timeline on the estate, cluster, or server dashboard to review
alerts that are no longer active, such as an alert that occurred last week. Set
the time range selector to 7d or 30d to include alerts from further back;
the selector also offers a 24h option for recent history.
Enable the Alert, Cleared, and Acked buttons in the Event Timeline to
display triggered, resolved, and acknowledged alert events within the selected
range. Select an event icon to view its details, including the triggering
threshold and, for acknowledged alerts, the operator, reason, and false
positive flag.

See Event Timeline for the full range of trackable event types and how the timeline groups simultaneous events.
Anomaly Detection Reasoning
Each anomaly alert in the status panel displays a question mark button labelled "Why was this flagged?". Click the button to open a popover that explains why the anomaly detector judged the anomaly to be a real issue. The Workbench fetches the explanation only when you click the button.
When the anomaly detector used a decision model, which records a verdict without an explanation, the server asks its configured LLM to write one the first time anyone opens the popover. The first request can take a few seconds; the server stores the explanation, so later views appear at once. The popover notes that such an explanation was generated after the decision model's verdict.
If the server has no LLM configured or the LLM call fails, the popover reports that the reasoning is not available, suggests trying again in a minute or asking an administrator to configure an LLM, and offers a Retry button. Alerts with no recorded reasoning, such as an alert raised because the classification step failed, show a message saying so instead.
Editing Alert Thresholds
You can edit alert thresholds directly from an alert instance. The edit button
on an alert opens the Edit alert override dialog for the associated rule and
scope.

The dialog allows you to adjust:
- the threshold value.
- the comparison operator.
- the severity.
- the enabled state.
The scope dropdown displays the available override levels: server, cluster, and group. The dialog pre-selects the scope that matches the originating context of the alert.
Blackout Interaction
During an active blackout period, the alerter suppresses new alerts for the affected connection or database. Existing active alerts remain visible during a blackout; the blackout only prevents the alerter from creating new alerts. See Managing Blackouts for details on maintenance windows.
System Alerts
A system alert reports a fault in the Workbench itself rather than in a
monitored server; the alert type is system, and the alert belongs to no
connection. The alerter currently raises one kind of system alert, for an
embedding, reasoning, or decision provider that keeps failing and so degrades
anomaly detection.

The alert title names the affected tier and provider, as in
Anomaly detection degraded: Tier 2 embedding provider ollama failing. The
alert description includes the following details:
- The description names the model.
- The description gives the number of consecutive failures so far, notes a failed startup check, or gives how many of the provider's recent calls failed.
- The description explains what anomaly detection does while the provider fails.
- The description shows the last error the provider returned, with any credentials removed.
A network failure appears only as its category, such as connection refused,
without the endpoint's address; the alerter log records the endpoint for the
administrator.
The alerter raises one alert at warning severity for each tier and provider.
The alerter clears the alert on the next successful call to that provider,
unless a steady share of the provider's recent calls are still failing; the
alerter also raises the alert for a provider that fails such a share of its
calls without failing consecutively. Tier 3 and re-evaluation share the
reasoning provider, so a successful call from either counts as a success for
both and can clear the alerts of both. A failing decision provider raises its
own alert, with the tier named Tier 3 decision, which no reasoning call
clears. A successful decision call clears the decision alert, as does a
successful startup check of the decision provider; the startup check lists
the provider's models when the alerter starts. After the alerter clears a
system alert, the alerter does not raise the alert again for five minutes.
System alerts behave differently from connection alerts in the following ways:
- Every user and API token with access to alerts sees system alerts, whatever connections the user or token may access.
- A list of alerts filtered to particular connections leaves system alerts out.
- The alert counts report system alerts in a separate
systemtotal rather than under a server. - Blackouts, including estate blackouts, do not suppress system alerts.
- Notifications go to the estate default channels, since channel overrides apply to a server, cluster, or group.
- The Event Timeline leaves system alerts out.
Only a superuser, or a user whose group holds the manage_alert_rules
administrative permission, can acknowledge a system alert or restore an
acknowledged one. An API token can do so only when the token's owner qualifies
and the token's administrative scope, if it has one, includes
manage_alert_rules. A system alert concerns no monitored server and has no
metric to explain, so the server refuses to save an AI analysis on a system
alert and answers the request with a 400 status. See
Alerter Configuration
for the failure threshold.
Related Documentation
- Alert Rule Reference lists all built-in alert rules and their default thresholds.
- AI Alert Analysis describes the AI-powered analysis feature for alerts.