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
- Ensure that you have least one error group. For more information, see Collect error data by using Error Reporting.
-
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:
-
In the navigation panel of the Google Cloud console, select Error Reporting, and then select your Google Cloud project:
On the error group that you want to update, click Open, and then select a 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:
Click Manage muted errors:
The Resolution status filters, only showing Resolved and Muted error groups.
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 add. Error groups that are associated with an issue link display a link icon link.
To view the issues associated with an error group, click the link icon link:
If the error group isn't associated with an issue URL, clicking on the add icon add opens a Link an issue URL to this error panel, where you can enter a URL.
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.