Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Configurar alertas
Você pode configurar alertas para notificá-lo quando ocorrer um evento. Por exemplo, é possível criar um alerta
para receber uma notificação quando houver uma falha de autenticação por um conector.
Os Integration Connectors são compatíveis com os dois tipos de notificação de alerta a seguir:
Alertas no Cloud Monitoring
Alertas no Cloud Logging
Alertas no Cloud Monitoring
É possível criar e configurar alertas do Cloud Monitoring para receber notificações quando um recurso de Integration Connectors exceder ou ficar abaixo de um limite especificado. Por exemplo, é possível criar um alerta
para receber notificações quando o total de dados processados por um conector exceder um valor limite especificado.
Para mais informações sobre a geração de alertas no Cloud Monitoring, consulte Visão geral de alertas.
Antes de começar
Verifique se você tem o papel do IAM Editor do Monitoring (roles/monitoring.editor) no projeto do Google Cloud. Para mais informações sobre como conceder papéis, consulte Gerenciar o acesso.
Saiba mais sobre os conceitos gerais das políticas de alertas em Visão geral de alertas.
Para selecionar o recurso, a métrica e os filtros da integração de aplicativos, clique em Selecionar uma métrica e insira Connectors no campo de entrada Filtrar por nome de recurso ou métrica.
Clique em Aplicar.
Clique em Próxima para abrir a seção Configurar o gatilho de alertas.
Defina um valor limite para acionar o alerta.
Clique em Próxima para abrir a seção Configurar notificações e finalizar alertas.
(Opcional) Para adicionar notificações à política de alertas, clique em
Canais de notificação e selecione um ou mais canais de
notificação na lista suspensa. Clique em OK.
Para receber uma notificação quando incidentes forem abertos ou fechados, marque
Notificar sobre o fechamento de incidentes. Por padrão, notificações são enviadas apenas quando
incidentes são abertos.
(Opcional) Use o campo de texto Documentação para inserir as informações que você
quer incluir em uma mensagem de notificação.
Clique em Nome da política de alertas e digite um nome para a política.
Clique em Criar política.
Os alertas são enviados para os contatos essenciais configurados no projeto do Google Cloud. Para
saber mais sobre como adicionar contatos essenciais, consulte
Como gerenciar contatos para notificações.
Alertas no Cloud Logging
É possível criar e configurar alertas baseados em registros para notificá-lo sempre que uma mensagem específica
aparecer nos registros incluídos. Por exemplo, é possível criar um alerta baseado em registros para mensagens
que correspondem a um padrão específico.
Criar um alerta
É possível criar alertas com base em registros na página Explorador de registros no
consoleGoogle Cloud ou usando a API Monitoring. Para instruções detalhadas, consulte
as seções a seguir:
[[["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-02 UTC."],[[["\u003cp\u003eIntegration Connectors allows you to configure alerts to notify you when specific events occur, such as authentication failures.\u003c/p\u003e\n"],["\u003cp\u003eAlert notifications can be set up in two ways: through Cloud Monitoring for threshold-based alerts or via Cloud Logging for message-pattern-based alerts.\u003c/p\u003e\n"],["\u003cp\u003eBefore creating alerts in Cloud Monitoring, ensure you have the \u003ccode\u003eMonitoring Editor\u003c/code\u003e IAM role and have configured notification channels.\u003c/p\u003e\n"],["\u003cp\u003eYou can create a Cloud Monitoring alert policy by selecting the 'Connectors' resource, setting a threshold, and optionally configuring notification channels.\u003c/p\u003e\n"],["\u003cp\u003eYou can set up log-based alerts for specific messages found in your logs via the Logs Explorer or the Monitoring API.\u003c/p\u003e\n"]]],[],null,["# Configure alerts\n================\n\nYou can configure alerts to notify you when an event occurs. For example, you can create an alert\nto notify you when there is an authentication failure by a connector.\n\nIntegration Connectors supports the following two types of alert notifications:\n\n- Alerts in Cloud Monitoring\n- Alerts in Cloud Logging\n\nAlerts in Cloud Monitoring\n--------------------------\n\nYou can create and configure Cloud Monitoring alerts to notify\nyou when an Integration Connectors resource exceeds or drops below a specified threshold. For example, you can create an alert\nto notify you when the total data processed by a connector exceeds a specified threshold value.\n\nFor more information about alerting in Cloud Monitoring, see [Alerting overview](/monitoring/alerts).\n\n### Before you begin\n\n- Make sure that you have the **Monitoring Editor (`roles/monitoring.editor`)** IAM role granted on your Google Cloud project. For information about granting roles, see [Manage access](/iam/docs/granting-changing-revoking-access).\n- Learn about the general concepts of alerting policies, see [Alerting overview](/monitoring/alerts).\n- Configure notification channels to receive alerts, see [Create and manage notification channels](/monitoring/support/notification-options).\n\n### Create an alert\n\n 1. In the Google Cloud console, go to the **Monitoring \\\u003e Alerting** page.\n\n [Go to Alerting](https://console.cloud.google.com/monitoring/alerting)\n 2. Click **+ Create Policy**.\n 3. To select the resource, metric, and filters for Application Integration, click **Select a metric** and enter `Connectors` in the **Filter by resource or metric name** input field.\n 4. Click **Apply**.\n 5. Click **Next** to open the **Configure alert trigger** section.\n 6. Set a threshold value to trigger the alert.\n 7. Click **Next** to open the **Configure notifications and finalize alert** section.\n 8. (Optional) To add notifications to your alerting policy, click **Notification channels** and select one or more notification channels from the drop-down list. Click **OK** .\n\n To be notified when incidents are opened and closed, check\n **Notify on incident closure**. By default, notifications are sent only when\n incidents are opened.\n 9. (Optional) Use the **Documentation** text field to enter any information that you want included in a notification message.\n 10. Click **Alert policy name** and enter a name for the alerting policy.\n 11. Click **Create Policy**.\n- The alerts are sent to the essential contacts configured in your Google Cloud Project. For more information on adding essential contacts, see [Managing contacts for notifications](/resource-manager/docs/managing-notification-contacts).\n\nAlerts in Cloud Logging\n-----------------------\n\n- You can create and configure log-based alerts to notify you whenever a specific message appears in your included logs. For example, you can create a log-based alert for messages that match a specific pattern.\n\n### Create an alert\n\n- You can create log-based alerts from the **Logs Explorer** page in the Google Cloud console or by using the Monitoring API. For detailed instructions, see the following sections:\n - [Create a log-based alert by\n using the Logs Explorer](/logging/docs/alerting/log-based-alerts#lba-definition)\n - [Create a\n log-based alert by using the Monitoring API](/logging/docs/alerting/log-based-alerts#lba-by-api)\n| **Note:** You may incur additional charges for using Cloud Monitoring API directly. For more information, see [Cloud Monitoring pricing](/monitoring#section-7)."]]