Create your first alert
1
Add a channel
Open the site, then Alerts in the sidebar. Under Notification channels, select Add channel, pick where alerts go and enter the destination. Owners and admins can add channels. See channels for each kind.You can skip this step. A rule without a channel still records each time it fires in Recent deliveries.
2
Send a test
Select Send test next to the channel. The test arrives within about a minute, and a toast tells you whether it was sent. See test a channel.
3
Create a rule
Under Rules, select New alert. Owners, admins and members of the site can create rules.
- In Watch for, pick what to watch, for example Traffic spikes or A monitor goes down.
- Adjust the sentence. Every part you can change is a menu, for example: Tell me when visitors in the last hour are 3× the usual.
- Optionally give the rule a Name. It is shown in the notification. Left empty, the rule is named after its type, such as Traffic spike.
- Pick how often it may Repeat. See cooldown.
- Under Notify, tick the channels to send to. A new rule starts with every channel that is switched on.
How alerts are checked
A job runs every minute. It looks at the rules that are due, records a firing for each rule whose condition is met, and sends it to the rule’s channels. How often a rule is due depends on its type:- Traffic rules (spike, drop, no traffic) are checked once per full hour of the site’s timezone, a few minutes after the hour ends.
- New errors, error spikes, goals and payments are checked every minute.
- Revenue milestones are checked every 5 minutes, and usage limits every 15 minutes.
- Web vitals rules are checked every 5 to 60 minutes, depending on their window.
- Monitor down rules are not polled: they fire the moment an incident opens or closes.
Cooldown
The Repeat setting is the rule’s cooldown: the shortest time between two notices from it.
What happens during a cooldown depends on the rule:
- Traffic rules skip any window that trips during the cooldown. It is not reported later.
- New error and payment received rules wait until the cooldown ends, then report what happened since their last notice (going back at most one day), in one notice.
- Monitor down rules use the cooldown to suppress flapping. If the same monitor goes down again within the cooldown of its last down notice, the notice waits until the cooldown ends. If the monitor is back up by then, nothing is sent.
- Other rules are not checked during the cooldown, and are checked again when it ends.
Triggered and recovered notices
Most rules send one kind of notice, when their condition is met. Monitor down rules send two:- A down notice when an incident opens, with the cause, the status code and when it went down.
- A back up notice when the incident closes, with how long it was down. A back up notice is only sent for an outage whose down notice was sent.
Manage rules
Each rule in the list shows its sentence, its channels (or No channel, log only), its repeat setting and when it last fired.- Use the switch next to a rule to turn it off without losing it. A rule that is off is not checked, and notices it had queued are not sent.
- Open the actions menu (⋯) to Edit the rule or Delete alert. Deleting stops the rule straight away and also removes its entries from Recent deliveries. To keep the history, switch the rule off instead.
Test a channel
Send test next to a channel sends a fixed message, Test notification from CrispStats, with an example fact. Nothing in it comes from your data. The test is queued and sent by the next run of the alerts job, usually within a minute, and the dashboard waits for the result:- Test sent to the channel: the destination accepted it. A delivered test marks the channel as verified.
- Test to the channel failed: the reason is shown, such as a refused webhook URL or an error from the destination.
- Test to the channel was not sent: the delivery was skipped, with the reason.
- Still queued: the job has not picked it up within 90 seconds. It is still sent within a few minutes.
Delivery history
Recent deliveries lists the last 30 notices for the site, newest first. Each row shows the headline, the summary, when it fired, the rule, the channel and a status:
Turned-off channels are left out of a delivery. If none of a rule’s channels is on, the notice is recorded as skipped. A request that gets a
429 or a 5xx response is retried once. Timeouts and network errors are not retried, because the notice may have arrived and a duplicate is worse than a gap.
Next steps
Alert rule types
Every rule, its threshold, windows and defaults.
Channels
Set up email, Slack, Discord, Telegram and webhooks.
Monitor uptime
Create the monitors that Monitor down alerts watch.