The Alerts page

- a switch to enable or disable it,
- how many of the last 30 days it fired,
- when it last ran, and its repeat setting: Alerts daily while true or Alerts once until it resets,
- where it delivers: Default destinations, the alert’s own destinations, or No destinations when nobody is notified.
The 30-day chart
Click an alert, or its chart button, to open its chart of the last 30 days. Each tab opens with its first alert’s chart open. The line is the value the alert measured each day, compared with the alert’s threshold, shown as a dotted red line:- Budget: the percentage of the budget used, against the lowest threshold.
- Custom SQL: the number of rows the query returned, against 1.
- Built-in metric: the highest value of the metric among the rows that crossed the threshold, against the alert’s threshold. Built-in metrics record a value only on the days they fire.
Create an alert
Click New alert and choose the kind.Data alert
Data alert opens New data alert, with two tabs:- Built-in metric: in Condition, choose a metric, for example a compute cost anomaly. Set Trigger when change ≥, the increase above the metric’s 7-day average that fires the alert, as a percentage or a multiple. Set Ignore changes below (absolute), a floor that the value must also reach, so a large change on a small value doesn’t fire. See Snowflake alerts and BigQuery alerts for the metrics.
- Custom SQL: write a SQL query that fires when it returns rows, or describe the alert and generate the SQL. See Custom alerts.
Budget alert
Budget alert opens New budget alert:- Select the budget to watch.
- Give the alert a name.
- Enter the thresholds as whole percentages of the budget between 1 and 100, separated by commas, for example
80, 100. Each threshold alerts once per budget period. If spend crosses more than one threshold between two runs, only the highest is sent. - In Notify when a threshold is crossed, choose where it delivers.
- Click Create alert.
Choose the account an alert watches
When the workspace has several cost connections, choose what each alert runs on:- Built-in metric on Snowflake: choose the account from the list below the metric. The alert watches that account only. You can’t change the account after you create the alert.
- Custom SQL: choose the cost connection the query runs on from the list above the SQL editor. Default connection follows the workspace’s default cost connection.
- Budget alert: the alert follows its budget, and each Snowflake account or warehouse budget belongs to one account.
Choose where alerts deliver
Each alert delivers either to the workspace’s default destinations or to a list of its own.Default destinations
Click Alert settings on the Alerts page to open Default destinations. Every alert that uses the default destinations delivers here. A change applies to those alerts at once. Alerts with their own destinations don’t change.- Click Add destination and choose a Slack channel, a Microsoft Teams channel, or an email address. Connect Slack or Microsoft Teams first so they show in the list.
- Turn on Email workspace admins to email every workspace admin. The switch shows the addresses it sends to now.
- Click Save.
Destinations for one alert
In the alert’s Notify section, Use default destinations is on for a new alert, and the default destinations are shown read-only. To send this alert somewhere else, turn Use default destinations off. The alert then delivers only to the destinations you add below, and changes to the defaults no longer apply to it. The list starts with the destinations the alert uses now, so you can add to them or remove from them.Until the default destinations are saved for the first time, they email the workspace admins. If you save them with no destinations and Email workspace admins off, an alert that uses them notifies nobody, and the list shows No destinations. Add default destinations under Alert settings, or give the alert its own.
Receiving and acting on alerts
When an alert is triggered, you receive a notification through your configured destinations. The alert includes:- A description of the issue
- Relevant metrics and comparisons
- Suggested actions to address the problem
Best Practices
- Start with key metrics: Begin by enabling alerts for your most critical operations and costs.
- Refine thresholds: Adjust the percentage and minimum-value thresholds over time based on your patterns.
- Regular review: Periodically review your alert configuration to ensure it stays relevant and effective.
- Team alignment: Make sure the right team members receive the appropriate alerts for quick action.