• Products
  • Get started
  • Documentation
  • Resources

Integrate Opsgenie with Google Cloud's operations suite

Stackdriver logo

Overview

What does the integration offer?

Google Cloud's operations suite (formerly Google Stackdriver) is natively integrated with the Google cloud platform, Amazon Web Services, and popular open-source packages. Google Cloud's operations suite provides various metrics, dashboards, alerting, log management, reporting, and tracing capabilities.

Opsgenie has a Webhook integration with Google Cloud's operations suite. Using the integration, Google Cloud's operations suite sends incidents to Opsgenie API with detailed information. Opsgenie acts as a dispatcher for Google Cloud's operations suite alerts, determines the right people to notify based on on-call schedules – notifies via email, text messages (SMS), phone calls, and iPhone & Android push notifications, and escalates alerts until they are acknowledged or closed.

How does the integration work?

  • When the state of a notification is open in Google Cloud's operations suite, an alert is automatically created in Opsgenie through the integration.

  • When the state of a notification is closed in Google Cloud's operations suite, the related alert is closed automatically in Opsgenie.

  • When the state of a notification is acknowledged in Google Cloud's operations suite, the related alert is acknowledged automatically in Opsgenie.

Set up the integration

Google Cloud's operations suite is an API-based integration. Setting it up involves the following steps:

  • Add a Google Cloud's operations suite integration in Opsgenie

  • Configure the integration in Google Cloud's operations suite

Add a Google Cloud's operations suite integration

If you're using Opsgenie's Free or Essentials plan or if you’re using Opsgenie with Jira Service Management's Standard plan, you can add this integration from your team dashboard only. The Integrations page under Settings is not available in your plan.

  1. Go to Teams and select your team.

  2. Select Integrations on the left navigation and then select Add integration.

Adding the integration from your team dashboard will make your team the owner of the integration. This means Opsgenie will assign the alerts received through this integration to your team only. Follow the rest of the steps in this section to set up the integration.

To add a Google Cloud's operations suite integration in Opsgenie:

  1. Go to Settings > Integrations.

  2. Select Add integration.

  3. Run a search and select “Google Cloud's operations suite”.

  4. On the next screen, enter a name for the integration.

  5. Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.

  6. Select Continue.
    The integration is saved at this point.

  7. Expand the Steps to configure the integration section and copy the Webhook URL.
    You will use this URL while configuring the integration in Google Cloud's operations suite later.

  8. Select Turn on integration.
    The rules you create for the integration will work only if you turn on the integration.

Configure the integration in Google Cloud's operations suite

  1. In Google Cloud, go to Alerting on the left menu.

  2. Select Edit Notifications Channels on the top menu.

  3. Open the WEBHOOKS tab.

  4. Select Add New.

  5. Paste the URL you copied while adding the integration in into ENDPOINT URL.

  6. Select Save.

Sample payload sent from Google Cloud's operations suite

(in JSON format)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 { "incident": { "incident_id": "f2e08c333dc64cb09f75eaab355393bz", "resource_id": "i-4a266a2d", "resource_name": "webserver-85", "state": "open", "started_at": 1385085727, "ended_at": null, "policy_name": "Webserver Health", "condition_name": "CPU usage", "url": "https://app.google.cloudops.com/incidents/f333dc64z", "summary": "CPU for webserver-85 is above the threshold of 1% with a value of 28.5%" }, "version": 1.1 }

Additional Help