Follow the steps below to configure a service so as to extract its related alert data from Google Stackdriver. Squadcast will then process this information to create incidents for this service as per your preferences.
Create a Stackdriver service in Squadcast
On the Sidebar, click on Services.
You can either navigate to an existing service or make a new one by clicking on “Add Service”.
Check the service details like name, description, and the associated escalation policy for this service and make sure it is correctly entered.
From the integration types drop down select the integration type as “Stackdriver”. You will be shown your Stackdriver webhook URL and click Save.
Create Squadcast Webhook in Stackdriver dashboard
Login to your Google Stackdriver console and go to the Workspace Settings.
In the settings, select Notifications, and then select WEBHOOKS tab and click on the Add Webhook button.
In the Add Static Webhook modal, enter the Stackdriver webhook url we got from the previous step in the Endpoint Url field and enter the Webhook Name as Squadcast, click on Test Connection button and once the test is successful, click Save.
Setup alerts in Stackdriver and send it to Squadcast
You can setup alerts in Stackdriver by going to the Alerting tab as usual. While creating alerts, under the Notifications section, select Webhook with Token Authentication.
In the Notification Channel, select Squadcast and click on the Add Notification Channel button.
Then you can create the Stackdriver alerting policy as usual and click Save.
Now whenever an alert is triggered by Stackdriver, an incident will be created automatically in Squadcast. The Stackdriver integration comes with an Auto-Resolve feature, meaning that whenever the alerts gets resolved in Stackdriver, the incident will automatically get resolved in Squadcast as well.