To view this documentation for the Periscope Classic UI, click here.
SQL Alerts notify the user whenever the result of a query is higher, lower, or equal to a predefined value. They're especially good for making sure nothing catastrophic has happened to the data pipeline.
Start by clicking on the "SQL Alerts" menu item in the header:
Once here, click the "Add New" button and define the alert! The alert's SQL must return a single value. Enter a threshold on which to be alerted.
This alert will trigger an email if there are more than 5000 purchases in the last day:
SQL Alerts can be configured to run either on an interval or at a scheduled time.
To run a SQL Alert on an interval, select the interval option and choose from every 10 minutes, 30 minutes, 1 hours, 4 hours, 12 hours, or 24 hours.
By selecting the ‘Schedule’ option, alerts can be set to run at a specific time in UTC.
Periscope executes alert queries directly on the customer database selected in the dropdown. For customers using the Periscope Enterprise Plan, the query skips the cache and executes directly on the database to provide the most up-to-date results.
SQL Alerts can be disabled by turning off the "Alert Enabled" switch under the "Settings" header.