Metric alerts tell you when a metric breaches a threshold, such as a spike in the number of errors in a project, or a change in a performance metric like latency, Apdex, failure rate, and throughput. Sentry users with admin permissions or higher can create alerts.
The alert builder sets the metric alert's triggers: Critical (required) and Warning (optional). The warning trigger's threshold must be breached before the critical trigger. Triggers are evaluated approximately every minute from the highest severity to lowest.
Sentry creates an alert with the severity of the matched trigger (warning or critical). If an alert is already active, its status is updated. If no resolution threshold is specified, the alert will automatically resolve when it's no longer violating the critical or warning conditions. You can also resolve alerts manually.
When Sentry creates an alert or an existing alert changes status, the trigger's actions are executed. Possible actions are:
- Send an email (to a member or team). If sent to a member, the member's personal project alert opt-out settings are overridden.
- Send a Slack notification.
- Trigger a PagerDuty incident.
- Send a request to a webhook (via internal integrations).
The Alert Stream displays your metric alerts along with visual graphs, associated projects, and the last time the alert was triggered. Access alerts via the Alerts sidebar item.
The Alert Details page provides specifics on a single instance of an alert from its creation to its resolution, or the current time if the alert is still active. The "subscribe" button subscribes you to workflow notifications for the alert, including status changes and comments.