Stackdriver

Send events to Squadcast from Google Stackdriver

This document will help you integrate Stackdriver with Squadcast.

Stackdriver offers monitoring of a wide variety of metrics, dashboards, alerting, log management, reporting, and tracing capabilities.

Route detailed events from Stackdriver to the right users in Squadcast.

How to integrate Stackdriver with Squadcast

In Squadcast: Using Stackdriver as an Alert Source

(1) On the Sidebar, click on Services

(2) Select an existing Service or Add Service

(3) Click the corresponding Alert Sources

(4) Search for Stackdriver from the Alert Source dropdown and copy the Webhook

In Stackdriver: Adding a Webhook for Squadcast

Login to your Google Cloud console. From the sidebar on the left, scroll to find Operations and select Monitoring

Adding a Notification Channel - Webhooks

(1) From the left sidebar, select Alerting

(2) Select Edit Notification Channels

(3) Scroll until you find Webhooks. Here, click on Add New to add the Squadcast Webhook

(4) Here, paste the previously copied Webhook from Squadcast under Endpoint URL. Give the Webhook a meaningful Displaye Name.

Things to keep in mind here:

  • Do not enable the checkbox for using HTTP Basic Auth
  • When you paste the Webhook from Squadcast in Endpoint URL field, ensure you remove the additional https:// that gets added

(5) Click on Test Connection and check to see if an incident has been created for the incident in Squadcast

(6) Finally, click on Save

Setting up Alerting Policies

(1) Within the Alerting page, to add a Policy, click on either + Create Policy on the top or Add Policy in the bottom

(2) Now, Add Condition for your Policy. In that page, you can set up the metrics that you would wish to monitor and their thresholds, along with the resources

(3) Once that is done, select Next

(4) In the Notification Channels dropdown, select the Webhook previously configured for Squadcast and select OK

(5) Enable the checkbox as shown in the screenshot to receive Incident Resolutions signals as well. Then, select Next

(6) Here, add a meaningul Alert Name, add Optional Documentation and click on Save to create your Alerting Policy

(7) Once everything is done, in the Policies page, you will be able to see the previously added Alerting Policy. Ensure that the Alerting Policy toggle is Enabled to on

That is it, you are now good to go! Whenever an alert is generated in Stackdriver, an incident will be created for the same in Squadcast.