Create anomaly alerts

This pageapplies toApigee andApigee 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 wheneverOperations 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 inPrerequisites for using Operations Anomalies.

Create anomaly alerts

In the Google Cloud console, go to theMonitoring> Alerting> Policies page.

Go to Policy Configuration Mode

SeeAlerting overview instructions for using Alerting policy dashboard.

For Apigee Observation Anomalies alerting:

  • SelectApigee anomaly event count as the metric.
  • In theConfigure alert trigger window, set theThreshold to0.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.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-17 UTC.