When you create an alerting policy, you can have up to 16 notification channels to use for incidents. This page lists the supported notification channel types and explains how to configure them.
Profile and Workspace settings
You must configure most notification channels before you use them in alerting policies. To configure a notification channel, you must have Editor access to the Workspace.
Notifications are configured in two places in Stackdriver:
The Profile page is where you configure SMS notifications and the Cloud Mobile App. Click on your name in the top-right corner of the Stackdriver Monitoring console and select Profile.
The Workspace Settings page is where you configure other notification channels. Click on the Workspace name in the top-left of the Stackdriver Monitoring console and select Workspace Settings near the bottom of the list. Then select Notifications and the type of notification.
Other users with Editor access to your Workspace can enter their own notification information. You will see their configurations, as well as your own, when you set up notification options for your alerting policy.
When you create an alerting policy, select Email in the Notifications section and enter your email address. It's not necessary to configure email addresses before setting up your alerting policy.
If you wish to manage your project's existing email notification addresses, visit Workspace Settings > Notifications > Email. From here, you can select email addresses to change or delete:
Cloud Mobile App
Use Cloud Mobile App to monitor your GCP Console resources and Stackdriver information from anywhere.
To configure your mobile device to receive Stackdriver notifications, do the following:
- Install Cloud Mobile App from your mobile device's app store.
- In Cloud Mobile App: Select the Settings menu to configure the app for your Workspace. You will be able to see your GCP Console resources.
In Stackdriver: Go to your user profile and add your mobile devices:
When you create an alerting policy, select **Google Cloud Console (mobile) ** in the Notifications section, and choose your mobile device from the list.
Integration with PagerDuty allows for one-way or two-way incident resolution with Stackdriver. To set up PagerDuty, do the following:
In PagerDuty: Create a PagerDuty account at the PagerDuty site. You can optionally configure PagerDuty Sync for two-way sync with Stackdriver.
For more information, see PagerDuty's Stackdriver Integration Guide†.
In Stackdriver: Visit Workspace Settings > Notifications > PagerDuty:
Click Add PagerDuty Service and follow the instructions.
When you create an alerting policy, select PagerDuty in the Notifications section and choose your PagerDuty configuration.
†In this document, the screenshots for Stackdriver are from an older version of Stackdriver, but the information is accurate.
To configure SMS notifications, first set up your phone number:
In Stackdriver: Go to your user profile and add your phone number or SMS in the Phone Numbers section:
When you set up your alerting policy, select the SMS notification type and choose a phone number from the list.
The Stackdriver Slack integration allows your alerting policies to post to a Slack channel when a new incident is created. To setup Slack, do the following:
- In Slack: Create a Slack channel at the Slack site.
In Stackdriver: Go to Workspace Settings > Notifications > Slack:
Click Authorize Stackdriver and follow the instructions on the Slack website.
When you create an alerting policy, select Slack in the Notifications section and choose your Slack configuration.
Stackdriver supports webhooks to notify remote services about incidents that occur. To set up webhooks, do the following:
- The webhook handler: Identify an endpoint URL that will receive webhook data from Stackdriver.
In Stackdriver: Go to Workspace Settings > Notifications > Webhooks:
Click Add Webhook and follow the instructions. The page has a sample of the data‡ that will be sent to the endpoint, and some authorization options.
When you create an alerting policy, select Webhook in the Notifications section and choose your webhook configuration.
‡The sample message shown on the configuration page is the JSON representation of an incident. This indicates which alerting policy was triggered, when, the current status of the incident, and so forth. See Incidents and events for more information.