Managing notifications

You can configure Error Reporting to send error notifications to selected Cloud Monitoring notification channels.

Error Reporting sends notifications in the following cases:

  • When an error first occurs in a Google Cloud project, and it can't be grouped with previous errors.

  • If an error that was marked as Resolved reoccurs.

Managing notification channels

You create, edit, and delete notification channels in Monitoring. After you have created notification channels, you can configure Error Reporting to use them.

Error Reporting lets you select from two types of notification channels: email and mobile.

Creating channels

To configure a notification channel, you must have one of the following Identity and Access Management roles on the scoping project of a metrics scope:

  • Monitoring NotificationChannel Editor
  • Monitoring Editor
  • Monitoring Admin
  • Project Editor
  • Project Owner

For more information about these roles, see Access control.

To create a notification channel by using the Cloud Console, do the following:

  1. In the Cloud Console, use the project picker to select your Google Cloud project, and then select Monitoring, or click the following button:

    Go to Monitoring

  2. In the Monitoring navigation pane, click Alerting.

  3. Click Edit notification channels.

  4. To add a new notification channel, locate the channel type, click Add new, and then follow the channel-specific instructions contained in the following table:

Email

To add an email, go to the Email section, click Add new, and follow the instructions.

If you use a group email address as the notification channel for an alerting policy, then configure the group to accept mail from ErrorReportingNotifications-noreply@google.com.

Mobile App

Use the Cloud Console Mobile App to monitor your Cloud Console resources and Monitoring information from anywhere.

To configure a Cloud Console Mobile App notification channel for a specific Google Cloud project, do the following:

  1. Install the Cloud Console Mobile App from your mobile device's app store.
  2. Select a project for viewing in the Cloud Console Mobile App. This action results in a data exchange between the app and the selected Google Cloud project. A notification channel is created automatically when one doesn't exist, and after a few minutes, this channel is listed under the Mobile Devices section of the Notification channels page.

To add your mobile device as a notification channel for an alerting policy, in the alerting Notifications section, select Google Cloud Console (mobile) and then choose your mobile device from the list.

Understanding what devices are notified

In the Mobile Devices section of the Notification channels page, the Scope column specifies where notifications are sent:

List of Cloud Console Mobile App} notification channels.

  • Device indicates that notifications are sent only to the specific device that created the notification channel. For device-scoped notification channels, the Display name field includes device information.
  • User indicates that the notifications are sent to all of your devices that have the Cloud Console Mobile App installed.

Cloud Monitoring determines the notification scope when the channel is created. You can't select or change the scope.

Editing and deleting channels

To edit or delete a notification channel by using the Cloud Console, do the following:

  1. In the Cloud Console, select Monitoring, or click the following button:

    Go to Monitoring

  2. In the Monitoring navigation pane, click Alerting.

  3. Click Edit notification channels.

    The Notification channels dashboard contains a section for each type of notification channel. Each section lists all configurations for that type:

    • To modify an entry, click Edit . Click Save after your changes are complete.
    • To delete an entry, click Delete . Click Delete in the confirmation dialog.

Selecting notification channels through the Cloud Console

To select an existing notification channel, you must have one of the following roles:

  • Error Reporting User
  • Error Reporting Admin
  • Project Editor
  • Project Owner

To select where you want to send notifications when new error groups occur, complete the following steps.

  1. Go to Error Reporting:

    Go to Error Reporting

  2. Click Configure notifications to open the Error notifications page.

  3. In the Notification channels drop-down menu, select the channels that you want to send the notifications to.

    If you don't see the channel you need, click Manage notification channels to create a new channel. To create a notification channel, your role must be one those listed in Creating channels.

  4. After selecting the channels, click Save.

Subscribe from the mobile app

To subscribe to notifications from the mobile app:

  1. Download the Cloud Console mobile application. Download the mobile app

  2. Click the menu .

  3. Select Settings.

  4. Select New error notifications.

  5. Click Add project and select the project to subscribe to.

Additional information

Notification limit

If more than 5 errors reoccur in a Google Cloud project within an hour, Error Reporting sends a final notification, letting you know that no more notifications will be sent for the next 6 hours. This is to control the volume of notifications.

Resolution status

If an error with a resolution status of Resolved reoccurs, even if it has been previously deleted, its resolution status changes back to Open and Error Reporting sends a notification.

Error Reporting won't send a notification if a Muted error reoccurs.

To manage the resolution status of your errors, go to Managing errors.

Mobile notifications

Error Reporting sends mobile notifications to the Cloud Console app on Android and iOS. To opt into mobile notifications, you must first install the app on your mobile device:

Download the Cloud Console mobile app

GCP console mobile app illustration. GCP console mobile app details.

Slack notifications

While Cloud Monitoring supports sending alert notifications directly to a Slack channel, Error Reporting doesn't support this pattern. To send notifications to Slack, you can forward notification emails to a Slack channel.