This page applies to Apigee and Apigee hybrid.
View Apigee Edge documentation.
When Operations Anomalies detects an anomaly, it displays the event in the Operations Anomalies dashboard. However, it doesn't automatically raise an alert for the anomaly.
If you want to be alerted about Operations Anomalies, you can create an anomaly alert and set up a notification, which sends you a message whenever Operations Anomalies-related API traffic patterns are detected, such as when an API's error rate reaches a predetermined threshold.
The advantage of anomaly alerts is that you don't need to define the exact conditions for each anomaly yourself. Operations Anomalies determines the right anomaly conditions using statistical methods, and updates them based on recent traffic data. Using anomaly detection alerts, you let Apigee detect and alert you to traffic and performance issues, rather than predetermining the alert conditions yourself.
Before you begin
To use anomaly alerts, make sure your project and your user account meet the requirements in Prerequisites for using Operations Anomalies.
Create anomaly alerts
To create an Apigee anomaly alert, open the Create alerting policy dashboard in the Google Cloud console. See Alerting overview for instructions for using Alerting policy dashboards.
For Apigee Observation Anomalies alerting:
- Select Apigee anomaly event count as the metric.
- In the Configure alert trigger window, set the Threshold to 0.5. (Any number between 0 and 1 will work for the threshold.) With this value, a single anomaly exceeds the threshold and triggers the alert.