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 to projects, folders, and organizations.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 Google Cloud console, go to the Error Reporting page:
You can also find this page by using the search bar.
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, then Error Reporting changes the resolution status back to Open.
- Muted: A state for hiding an error group from your list. If a muted error reoccurs, then the error isn't included in the list of errors and you aren't notified.
Add links to error groups
You can link error groups to pages such as issue trackers or documentation with resolution steps.
To add a link to an error group, click add Set the link to an issue tracker for this error group, and then complete the dialog.
To edit the link on an error group, click edit Set the link to an issue tracker for this error group, and then complete the dialog.
To open the link for an error group, click link Link to the issue tracker for this error group.
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, then Error Reporting doesn't send a notification if the errors reoccur.