See the supported connectors for Application Integration.
Configure alerts
You can configure alerts to notify you when an event occurs. For example, you can create an alert to notify you when there is an authentication failure by an integration.
You can set alerts in the following two ways:
Alerts in Cloud Monitoring
You can create and configure Cloud Monitoring alerts to notify you when an Application Integration resource exceeds a specified threshold. For example, you can create an alert to notify you when the total data processed for an integration exceeds a specified threshold value or if integration execution count reaches beyond a certain limit.
For more information about alerting in Cloud Monitoring, see Alerting overview.
Before you begin
- 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. - Learn about the general concepts of alerting policies, see Alerting overview.
- Configure notification channels to receive alerts, see Create and manage notification channels.
Create an alert
- In the Google Cloud console, go to the Monitoring > Alerting page.
- Click + Create Policy.
- To select the resource, metric, and filters for Application Integration, follow these steps:
- Click Select a metric.
- In the Filter by resource or metric name input field, enter
Integration Version
and select it. - In the Active metric categories menu, select a metrics type, and then Active Metrics. For a list of metrics types, see integrations metric type.
- Click Apply.
- Click Next to open the Configure alert trigger section.
- Set a threshold value to trigger the alert.
- Click Next to open the Configure notifications and finalize alert section.
- (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.
To be notified when incidents are opened and closed, check Notify on incident closure. By default, notifications are sent only when incidents are opened.
- (Optional) Use the Documentation text field to enter any information that you want included in a notification message.
- Click Alert policy name and enter a name for the alerting policy.
- Click Create Policy.
For more sample alerts, see Alert policy templates for Application Integration.
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.
Alerts in Cloud Logging
You can create and configure log-based alerts to notify you whenever a specific message appears in your included logs. For example, the following lists some use cases for which you can create a log-based alert: messages that match a specific pattern, failed integration execution status, specific severity log, and integrations with the execution time time higher than certain value.
Create an alert
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:
- Create a log-based alert by using the Logs Explorer
- Create a log-based alert by using the Monitoring API
What's next
- Learn more about configuring log-based alerts.