Get alerts on a metric or a chart
Get a message in Slack, by email or at your own URL when a metric crosses a number, moves far from its usual level, or when traffic drops.
Metric alerts tell your team when a number on your site changes, without anyone watching the dashboard. An alert watches one metric or one dashboard chart, hour by hour or day by day, and sends a message when it fires and again when it is back to normal.
Before you begin
- To create, change or delete an alert you need the Editor, Admin or Owner role. Everyone else sees the alerts and their log.
- On-Live records your site or app. See Install the web SDK.
- To post to Slack, connect it first: Connect Slack. To post to your own URL, add a webhook first: Send alerts to a webhook.
Create an alert on a metric
Open Metric alerts
In the sidebar, under Flamio On-Live, click Digests. The Metric alerts panel is under Critical alerts.
Pick what it watches
Click New alert, enter a Name and select the Metric. When the metric has several numbers, select the Measure.
Set the condition
Under Condition, select one:
- Threshold — the number goes Above or Below the value you enter.
- Anomaly — the number makes an unusual Drop, Spike or Both, compared with the same hour or day of the week in recent weeks. It is offered for counts, such as visits or clicks, not for rates.
Set the window and the cooldown
Under Window, select Hourly or Daily. Under Cooldown, select 1 h, 6 h or 24 h: an alert that fires again within the cooldown is logged in Flamio but not sent.
Pick where it goes
Select a Slack Channel, tick members under Email, or select a Webhook — any of them, or none. Click Create alert.
Create an alert on a dashboard chart
Open the chart's menu
Open the dashboard and the menu of a chart over time that is not split by a breakdown. Click Create alert….
Finish the alert
The New alert form opens on that chart. Select its Measure, set the Condition, Window, Cooldown and where it goes, then click Create alert.
The alert reads the chart as it is saved: change the chart's filters and the alert follows them. A chart deleted from every dashboard takes its alerts with it, and removing it tells you how many.
Get an alert when traffic drops
Under Metric alerts, turn on Alert when traffic drops. Each hour, the hour's visits are compared with the same hour of the week in recent weeks; a fall far below the usual level fires the alert.
It appears in the bell in Flamio. To get it in Slack, by email or at a webhook, click Edit on its row, pick the Channel, members under Email or the Webhook, and click Save. Turn the switch off to stop it.
Result
Shortly after each hour or day ends, every alert looks at it. When an alert fires, you get one message with the number, the threshold or the usual level, and a link that opens the chart over the days before. When the number is back to normal, you get one Resolved message. Every sent alert also appears in the bell.
Each row in Metric alerts shows:
- Firing or OK, and the last check. Learning the usual level, Too little traffic to judge and No data mean the alert is waiting and sends nothing.
- Log — each Fired and Resolved, the ones Muted by cooldown, and whether each channel was sent.
- A switch to turn the alert off, Edit, and delete.
Each alert email carries its own unsubscribe link: it takes you off that alert, and the alert keeps posting to its other channels.
Related
Get critical problems in Slack
Turn on critical alerts — every 30 minutes Flami looks at what changed on your site and posts the problems it judges critical to a Slack channel.
Troubleshoot On-Live
Fix the common On-Live problems — no sessions arriving, missing visitors, anonymous users, an empty release table and late mobile sessions.