- English
- 日本語
Managing alert definitions
Last updated 2024-06-26
An alert definition is a configuration rule that defines when an alert should be triggered and how notifications should be handled.
Limitations and considerations
The maximum number of alert definitions that can exist at any one time per customer is 50.
About alert definitions
An alert definition is a configuration rule that defines when an alert should be triggered and how notifications should be handled. Specifically, it outlines:
- the observed service, data pipeline, and metric.
- the set of conditions that must be met for an alert to trigger.
- the custom destinations for alert messages (e.g., Slack channels and webhooks).
The condition set defines the threshold, the evaluation period, and whether the alert should trigger when the metric exceeds or remains below the threshold or rate. Specifically:
- A threshold is a static number or a percentage of all requests that the observed metric must either be above or below for the alert to trigger.
- The evaluation period is the number of minutes during which the observed metric is evaluated every minute to determine if the metric has gone above, remained below, or exceeded the threshold during the entire evaluation period.
- The comparison period is the length of time used to compare and evaluate the percentage condition. The first and last minutes of the period will be used to calculate the percentage.
Creating alert definitions
To create an alert definition, start by navigating to the Add alert definition page using one of these methods:
- On the Overview page in the Firing section, click Add alert definition.
- On the Alert definitions page, click Add alert definition.
Next, fill out the general alert fields as follows:
In the Name field, enter the name of the alert.
In the Description field, enter a description of the alert definition.
Leave the All services (aggregated) value selected if you want to monitor all your services or select Single service if you want to monitor a specific service.
If you selected Single service, fill out the following fields:
- From the Service menu, select a service.
- From the Data Source menu, select a data pipeline. Data pipeline options include Historic Stats, Origin Inspector, and Domain Inspector.
Next, define the metric that you want to monitor:
- If you're monitoring all services or selected
Historic Stats
from the Data source menu then, from the Metric menu, select the metric that you want to monitor. - If you selected
Domain Inspector
from the Data source menu, fill out the following fields:- From the Domains menu, select the domains that you want to monitor.
- From the Metric menu, select the metric that you want to monitor.
- If you selected
Origin Inspector
from the Data source menu, fill out the following fields:- From the Origins menu, select the origins that you want to monitor.
- From the Metric menu, select the metric that you want to monitor.
Once you've done that, define the conditions that will trigger the alert:
If you selected an error rate or success rate alert type:
- From the Evaluation type menu, select whether the alert should be triggered when the metric is above or below a percentage of overall requests.
- From the Threshold menu, select a percentage of overall requests that the metric must be above or below for the alert to trigger.
- From the Evaluation period menu, select the number of minutes during which the observed metric is evaluated every minute to determine if the metric is above or below the specified threshold. Options include 2 minutes, 5 minutes, 15 minutes, and 30 minutes.
If you selected a threshold alert:
- From the Evaluation type menu, select whether the alert should be triggered when the metric is above or below the threshold.
- In the Threshold field, enter the number that the metric must be above or below for the alert to trigger. To set this field, you can also click and drag the threshold line on the graph.
- From the Evaluation period menu, select the number of minutes during which the observed metric is evaluated every minute to determine if the metric is above or below the specified threshold. Options include 2 minutes, 5 minutes, 15 minutes, and 30 minutes.
If you selected a percentage change alert:
- From the Evaluation type menu, select whether the alert should be triggered when the metric increases by, decreases by, or increases or decreases by.
- In the Percent field, enter the percent that the metric must either increase by, decrease by, or increases or decreases by for the alert to trigger.
- From the Comparison Period menu, select the period during which the observed percentage is evaluated. The first and last minute of the period will be used to calculate the percentage. Options include 2 minutes, 5 minutes, 15 minutes, and 30 minutes.
- (Optional) From the Excluded Values menu, select the values below this range that will be disregarded and not used to trigger an alert.
Next, optionally specify where alert notifications should be sent:
- (Optional) From the Integrations(s) menu, select the notification channels for the alert.
- (Optional) Click Test Alert. A test notification is sent to the notification channel you selected.
Finally, click Save Alert to save the alert. The Alert definitions page appears.
Editing alert definitions
To edit an alert definition, start by navigating to the Edit alert definition page using one of these methods:
- On the Overview page in the Firing section, click an instance of an alert definition that you want to edit and then click Edit alert definition.
- On the Alert definitions page, click the pencil to the right of the alert definition that you want to edit.
Next, update and save the alert definition:
- Fill out the Edit alert definition fields as follows:
- In the Name field, enter the name of the alert.
- In the Description field, enter a description of the alert definition.
- If the value of the Data source menu is
Domain Inspector
then, from the Domains menu, select the domains that you want to monitor. - If the value of the Data source menu is
Origin Inspector
then, from the Origins menu, select the origins that you want to monitor. - From the Metric menu, select the metric that you want to monitor.
- Under the Alert type menu, select whether the alert will trigger from a threshold or percentage change.
- For thresholds and from the Evaluation type menu, select whether the alert should be triggered when the metric is above or below the threshold.
- For percentage change and from the Evaluation type menu, select whether the alert should be triggered when the metric increases by, decreases by, or increases or decreases by.
- In the Threshold field, enter the number that must be above or below for the alert to trigger. To set this field, you can also click and drag the threshold line on the graph.
- In the Percent field, enter the percent that the metric must either increase by, decrease by, or increases or decreases by for the alert to trigger.
- From the Evaluation period menu, select the number of minutes during which the observed metric is evaluated every minute to determine if the metric is above or below the specified threshold. Options include 2 minutes, 5 minutes, 15 minutes, and 30 minutes.
- From the Comparison period menu, select the period during which the observed percentage is evaluated. The first and last minute of the period will be used to calculate the percentage. Options include 2 minutes, 5 minutes, 15 minutes, and 30 minutes.
- From the Integration(s) menu, optionally select or remove notification channels for the alert.
- (Optional) Click Test Alert. A test notification is sent to the notification channel you selected.
- Click Save Alert to save the alert.
Deleting alert definitions
From the Alert definitions page, you can delete alert definitions by clicking the trash to the right of the alert definition that you want to delete. The alert definition is removed from the Alert definitions page.
Do not use this form to send sensitive information. If you need assistance, contact support. This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.