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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThis page covers Operations Anomalies, a feature available in the Apigee UI in Cloud console, that is comparable to the Advanced API Operations Anomaly Detection found in the Classic Apigee UI.\u003c/p\u003e\n"],["\u003cp\u003eOperations Anomalies detects and displays events in the Operations Anomalies dashboard but does not automatically generate alerts.\u003c/p\u003e\n"],["\u003cp\u003eYou can set up anomaly alerts to receive notifications when Operations Anomalies detects unusual API traffic patterns, such as when an API's error rate crosses a certain threshold.\u003c/p\u003e\n"],["\u003cp\u003eAnomaly alerts use statistical methods to determine and update anomaly conditions based on recent traffic data, eliminating the need for manual condition definition.\u003c/p\u003e\n"],["\u003cp\u003eCreating an Apigee anomaly alert requires selecting "Apigee anomaly event count" as the metric in the Google Cloud console's "Create alerting policy" dashboard, and setting a threshold between 0 and 1.\u003c/p\u003e\n"]]],[],null,["# Create anomaly alerts\n\n*This page\napplies to **Apigee** and **Apigee hybrid**.*\n\n\n*View [Apigee Edge](https://docs.apigee.com/api-platform/get-started/what-apigee-edge) documentation.*\n\n| **Important:** This page describes how to use Operations Anomalies, which is comparable to the [Advanced API Operations Anomaly Detection](/apigee/docs/aapi-ops) functionality in the Classic Apigee UI. Operations Anomalies is only available in the [Apigee UI in Cloud console](https://console.cloud.google.com/apigee) while Anomaly Detection is only available when using the classic [Apigee UI](https://apigee.google.com). Both are available at this time.\n\nWhen Operations Anomalies detects an anomaly, it displays the event in the\n[Operations Anomalies dashboard](/apigee/docs/api-platform/analytics/operations-anomalies-overview#view-detected-operations-anomalies). However, it doesn't automatically raise an alert for the anomaly.\n\nIf you want to be alerted about Operations Anomalies, you can create an anomaly alert\nand set up a notification, which sends you a message whenever\n[Operations Anomalies](/apigee/docs/api-platform/analytics/operations-anomalies-overview)-related\nAPI traffic patterns are detected, such as when an API's error rate reaches a predetermined\nthreshold.\n\nThe advantage of anomaly alerts is that you don't need to define the exact conditions\nfor each anomaly yourself. Operations Anomalies determines the right anomaly conditions using\nstatistical methods, and updates them based on recent traffic data.\nUsing anomaly detection alerts, you let Apigee detect and alert you to traffic and performance\nissues, rather than predetermining the alert conditions yourself.\n\n### Before you begin\n\nTo use anomaly alerts, make sure your project and your user account meet the requirements in\n[Prerequisites for using Operations Anomalies](/apigee/docs/api-platform/analytics/operations-anomalies-overview#prerequisites-for-using-operations-anomalies).\n\n### Create anomaly alerts\n\nTo create an Apigee anomaly alert, open the\n[Create alerting policy](https://console.cloud.google.com/monitoring/alerting/policies/create?) dashboard in the Google Cloud console.\nSee [Alerting overview](https://cloud.google.com/monitoring/alerts) for\ninstructions for using Alerting policy dashboards.\n\nFor Apigee Observation Anomalies alerting:\n\n- Select **Apigee anomaly event count** as the metric.\n- 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."]]