For the complete documentation index, see llms.txt. This page is also available as Markdown.

Google Cloud Monitoring (formerly Stackdriver) Integration

With the ilert Google Cloud Monitoring integration, you can create alerts in ilert based on Google Cloud Alerts.

With Google Cloud Monitoring you can gain visibility into the performance, availability, and health of your applications and infrastructure.

In ilert: Create a Google Cloud Monitoring alert source

  1. Go to Alerting → Alert sources and click Create new alert source.

  2. Search for Google Cloud Monitoring, click its tile, and click Next.

  3. Give your alert source a name, optionally assign teams, and click Next.

  4. Choose who gets notified: select Use existing escalation policy and pick a policy, or Generate new escalation policy to start with a basic one that notifies you first. Click Next.

    The escalation step of the ilert alert source wizard, headed Who should be notified about alerts, with an escalation policy selected and a preview of its escalation rules below.
    Pick an existing escalation policy, or generate a basic one without leaving the wizard.
  5. Select Default grouping and click Continue setup. It groups events by the alert key the integration sets; the other grouping options are easier to judge once events are arriving.

  6. The next page shows more settings, such as notification priority and alert templates. Click Finish setup for now; you can change them later.

  7. On the final page, ilert shows the integration key and URL for this alert source. You will need them later in this guide.

In Google Cloud Console: Create Webhook Notification Channel

  1. Go to Google Cloud Console and search for Monitoring

  1. On the Monitoring page go to Alerting and click on the Edit Notification channels button

  1. On the Notification Channels page click on the Add New button beside the Webhooks channels.

  1. Assign a Display Name on the following modal (e.g. ilert) and in the field "Endpoint URL" paste the Webhook URL that you generated in ilert and click on the Save button.

  1. After you've created the ilert webhook, you can use it as a notification in any Alerting Policy in Google Cloud Monitoring. The following screenshot will create a new Alerting Policy with ilert as the notification method.

FAQ

Will alerts in ilert be resolved automatically?

Yes, as soon as the state of an alert in Google Cloud Monitoring is RESOLVED, the associated alert in ilert is resolved.

Can I link Google Cloud Monitoring to multiple alert sources in ilert?

Yes, create a webhook for each alert source in Google Cloud Monitoring. You can then choose which Webhook to use for alerting for each Alerting Policy in Google Cloud.

Last updated

Was this helpful?