Quando as anomalias de operações detectam uma anomalia, elas mostram o evento no
Painel de anomalias de operações. No entanto, não gera um alerta automaticamente para
a anomalia.
Para receber avisos sobre anomalias de operações, crie um alerta de anomalia
e configure uma notificação, que enviará uma mensagem sempre que
os padrões de tráfego de API relacionados às anomalias de operações
forem detectados, como quando a taxa de erro de uma API atingir
o limite predeterminado.
A vantagem dos alertas de anomalias é que você não precisa definir as condições exatas
para cada anomalia. As anomalias de operações determinam as condições corretas de anomalia usando
métodos estatísticos e os atualiza com base nos dados recentes de tráfego.
Com os alertas de detecção de anomalias, a Apigee detecta e envia alertas sobre problemas de tráfego e desempenho
em vez de determinar as condições de alerta por conta própria.
Para criar um alerta de anomalia da Apigee, abra o painel
Criar política de alertas no console do Google Cloud.
Consulte Visão geral de alertas para
instruções para usar os painéis de políticas de alertas.
Para alertas de anomalias de observação da Apigee:
Selecione Contagem de eventos de anomalias da Apigee como a métrica.
Na janela Configurar gatilho do alerta, defina o Limite como 0,5.
(Qualquer número entre 0 e 1 funcionará para o limite.) Com esse valor, uma única anomalia excede o limite e aciona o alerta.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-04 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."]]