Skip to Content
OpenPerf

Respond

Alerts

Create rules that notify your team about new errors, regressions, spikes and slow transactions.

An alert is a rule that watches one project and notifies you when its condition is met. Alerts live in Settings → Alerts. Every member can open them; only owners and admins can create, change and delete them.

Alerts settings with a list of rules, each showing its project, condition and status

Each row shows the alert name, its project, the condition and a status: Watching, Firing, Muted or Disabled.

Create an alert

  1. Open Settings → Alerts and click New alert.
  2. Enter a Name, pick the Project and choose what to watch in When.
  3. Fill in the Condition section.
  4. Under Team chats, turn on the chats that should get the notifications.
  5. Click Create alert.

The project cannot be changed after the alert is created.

Alert kinds

WhenThe alert fires whenCondition fields
New errorAn error appears in the project for the first time.Environments
RegressionA resolved error happens again.Environments, Cooldown
Error spikeOne error reaches the threshold number of events within the window.All fields
Error countThe number of error events in the window is above or below the threshold.All fields
Failure rateThe share of failed transactions in the window, in percent, is above or below the threshold.All fields
P95 latencyThe 95th percentile of transaction duration in the window, in milliseconds, is above or below the threshold.All fields

Errors with the Ignored status never trigger New error, Regression or Error spike.

Condition fields

FieldValuesDefaultWhat it does
EnvironmentsEnvironments the project reported in the last 30 daysAll environmentsLimits the alert to the selected environments.
ThresholdAbove or Below, and a number from 0 to 1,000,000,000Above, no numberThe value the alert compares against. Error spike takes a whole number from 1 and has no comparison. Failure rate takes 0 to 100.
Window1, 5, 10, 15 or 30 minutes, 1, 3 or 24 hours5 minutesHow far back each check looks. Checks run every minute.
CooldownNo cooldown, 5, 15 or 30 minutes, 1, 3 or 24 hours30 minutesThe shortest time between two notifications for the same alert.
Notify on recoveryOn or offOnSends a resolved message when the value is back to normal.

For Regression and Error spike, the cooldown is counted separately for each error.

Where notifications go

  • Team chats. The Slack, Discord and Telegram chats you turned on in the alert. Manage chats opens Settings → Integrations, where you connect them. See Slack, Discord and Telegram.
  • Email. Members who subscribed to the alert in Settings → Notifications. Nobody is subscribed when the alert is created. See Notifications.
  • Webhooks. Endpoints subscribed to alert.firing and alert.resolved. See Webhooks.

How an alert fires and resolves

New error and Regression send one notification each time a matching error appears or comes back. An alert sends at most 30 of these notifications per hour.

The other kinds are checked every minute:

  • When the condition is met, the alert becomes Firing and sends one notification. It stays Firing without repeating it.
  • When the condition is no longer met, the alert returns to Watching. With Notify on recovery on, it sends a resolved message.
  • After a notification, the alert does not fire again until the cooldown has passed.

Error spike follows each error on its own, so one alert can fire for several errors. If more than 50 errors cross the threshold in one check, the alert fires for the 50 with the most events.

Failure rate and P95 latency need transactions to measure. While the window has none, the alert keeps its state. After 60 minutes without transactions, or the whole window if it is longer, a firing alert resolves.

Manage an alert

Click an alert to open it. Change any field and click Save alert. Changing the kind, threshold, window or environments returns the alert to Watching.

  • Mute pauses the alert For 1 hour, For 8 hours or For 24 hours. A muted alert is not checked and sends nothing; what happens in that time is not sent later. Unmute ends it early.
  • Send test, in the three-dot menu next to Mute, sends a test notification to every chat and email subscriber of the alert.
  • Disable, in the same menu, stops the checks until you click Enable.
  • Delete alert, under Danger zone, removes the alert and its notification history.

Recent notifications lists the last 20 notifications. Each one shows its recipients with a delivery status: Sending, Sent, Failed or Skipped. Hover a recipient to see why a delivery failed or was skipped.

On this page