Manage errors

This page explains how you can manage your error groups in Error Reporting.

Errors that are grouped together are usually very similar, so Error Reporting keeps only 1,000 samples and extrapolates the remaining information. To view all occurrences of an error, view the related logs with the Logs Explorer. For more information about error grouping, see How errors are grouped.

Before you begin

  • To get the permissions that you need to manage errors, ask your administrator to grant you the Error Reporting User (roles/errorreporting.user) IAM role on your project. For more information about granting roles, see Manage access.

    You might also be able to get the required permissions through custom roles or other predefined roles.

Change resolution status

To record the status of your investigation into an error group, do the following:

  1. In the navigation panel of the Google Cloud console, select Error Reporting, and then select your Google Cloud project:

    Go to Error Reporting

  2. On the error group that you want to update, click Open, and then select a resolution status:

    The user interface showing the error resolution status.

    You can select any of the following values:

    • Open: The default initial state of all error groups. The other states are set manually. You can revert an error group's status back to Open at any time.
    • Acknowledged: A state for triaging error groups.
    • Resolved: A state for indicating that an error group is fixed and no longer expected to occur. If an error group marked as Resolved later reoccurs, Error Reporting changes the resolution status back to Open.
    • Muted: A state for hiding an error group from your list. For more information, see Mute errors.

Mute errors

You can hide an error group from the list of error groups on the Error Reporting page by changing its resolution status to Muted. Muted errors won't reappear in your list, even if they reoccur.

To view your muted error groups (and unmute them if desired), do the following:

  1. Click Manage muted errors:

    The user interface showing the muted errors menu.

  2. The Resolution status filters, only showing Resolved and Muted error groups.

    The user interface showing the resolution status muting option.

To unmute an error group, deselect its resolution status type from the same Resolution status panel.

Error Reporting won't send notifications if the muted error reoccurs.

Link errors to issues

You can link error groups to issues. Error groups that aren't associated with an issue link display an add icon . Error groups that are associated with an issue link display a link icon .

To view the issues associated with an error group, click the link icon :

The user interface showing the link icon.

If the error group isn't associated with an issue URL, clicking on the add icon opens a Link an issue URL to this error panel, where you can enter a URL.

The user interface showing bug icon viewing options.

Set notifications

Error Reporting can notify you when new errors occur and when errors that have been marked Resolved reoccur. To learn more, and for instructions on setting notifications, see Configure and manage notifications.

Delete errors

You can delete all error events which are stored for the given Google Cloud project, and reset error counts to zero, using either the gcloud tool or the REST API.

gcloud

To delete all error events, run this command:

gcloud beta error-reporting events delete

REST API

To delete all error events, use the projects.deleteEvents method of the REST API.

If you subscribed to error notifications for the Google Cloud project and then deleted errors with a Resolved status, then the resolution status changes back to Open and Error Reporting sends a notification if the errors reoccur.

If you deleted errors with a status of Open or Acknowledged, Error Reporting doesn't send a notification if the errors reoccur.

What's next