Get desktop application:
View/edit binary Protocol Buffers messages
Service for retrieving and updating individual error groups.
Get the specified group.
A request to return an individual group.
[Required] The group resource name. Written as <code>projects/<var>projectID</var>/groups/<var>group_name</var></code>. Call <a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list"> <code>groupStats.list</code></a> to return a list of groups belonging to this project. Example: <code>projects/my-project-123/groups/my-group</code>
Replace the data for the specified group. Fails if the group does not exist.
A request to replace the existing data for the given group.
[Required] The group which replaces the resource on the server.
An API for retrieving and managing error statistics as well as data for individual events.
Lists the specified groups.
Specifies a set of `ErrorGroupStats` to return.
[Required] The resource name of the Google Cloud Platform project. Written as <code>projects/</code> plus the <a href="https://support.google.com/cloud/answer/6158840">Google Cloud Platform project ID</a>. Example: <code>projects/my-project-123</code>.
[Optional] List all <code>ErrorGroupStats</code> with these IDs.
[Optional] List only <code>ErrorGroupStats</code> which belong to a service context that matches the filter. Data for all service contexts is returned if this field is not specified.
[Optional] List data for the given time range. If not set a default time range is used. The field time_range_begin in the response will specify the beginning of this time range. Only <code>ErrorGroupStats</code> with a non-zero count in the given time range are returned, unless the request contains an explicit group_id list. If a group_id list is given, also <code>ErrorGroupStats</code> with zero occurrences are returned.
[Optional] The preferred duration for a single returned `TimedCount`. If not set, no timed counts are returned.
[Optional] The alignment of the timed counts to be returned. Default is `ALIGNMENT_EQUAL_AT_END`.
[Optional] Time where the timed counts shall be aligned if rounded alignment is chosen. Default is 00:00 UTC.
[Optional] The sort order in which the results are returned. Default is `COUNT_DESC`.
[Optional] The maximum number of results to return per response. Default is 20.
[Optional] A `next_page_token` provided by a previous response. To view additional results, pass this token along with the identical query parameters as the first request.
Contains a set of requested error group stats.
The error group stats which match the given request.
If non-empty, more results are available. Pass this token, along with the same query parameters as the first request, to view the next page of results.
The timestamp specifies the start time to which the request was restricted. The start time is set based on the requested time range. It may be adjusted to a later time if a project has exceeded the storage quota and older data has been deleted.
Lists the specified events.
Specifies a set of error events to return.
[Required] The resource name of the Google Cloud Platform project. Written as `projects/` plus the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`.
[Required] The group for which events shall be returned.
[Optional] List only ErrorGroups which belong to a service context that matches the filter. Data for all service contexts is returned if this field is not specified.
[Optional] List only data for the given time range. If not set a default time range is used. The field time_range_begin in the response will specify the beginning of this time range.
[Optional] The maximum number of results to return per response.
[Optional] A `next_page_token` provided by a previous response.
Contains a set of requested error events.
The error events which match the given request.
If non-empty, more results are available. Pass this token, along with the same query parameters as the first request, to view the next page of results.
The timestamp specifies the start time to which the request was restricted.
Deletes all error events of a given project.
Deletes all events in the project.
[Required] The resource name of the Google Cloud Platform project. Written as `projects/` plus the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`.
Response message for deleting error events.
(message has no fields)
An API for reporting error events.
Report an individual error event. This endpoint accepts <strong>either</strong> an OAuth token, <strong>or</strong> an <a href="https://support.google.com/cloud/answer/6158862">API key</a> for authentication. To use an API key, append it to the URL as the value of a `key` parameter. For example: <pre>POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre>
A request for reporting an individual error event.
[Required] The resource name of the Google Cloud Platform project. Written as `projects/` plus the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`.
[Required] The error event to be reported.
Response for reporting an individual error event. Data may be added to this message in the future.
(message has no fields)
A description of the context in which an error occurred. This data should be provided by the application when reporting an error, unless the error report has been generated automatically from Google App Engine logs.
Used in:
,The HTTP request which was processed when the error was triggered.
The user who caused or was affected by the crash. This can be a user ID, an email address, or an arbitrary token that uniquely identifies the user. When sending an error report, leave this field empty if the user was not logged in. In this case the Error Reporting system will use other data, such as remote IP address, to distinguish affected users. See `affected_users_count` in `ErrorGroupStats`.
The location in the source code where the decision was made to report the error, usually the place where it was logged. For a logged exception this would be the source line where the exception is logged, usually close to the place where it was caught. This value is in contrast to `Exception.cause_location`, which describes the source line where the exception was thrown.
An error event which is returned by the Error Reporting system.
Used in:
,Time when the event occurred as provided in the error report. If the report did not contain a timestamp, the time the error was received by the Error Reporting system is used.
The `ServiceContext` for which this error was reported.
The stack trace that was reported or logged by the service.
Data about the context in which the error occurred.
Description of a group of similar error events.
Used as response type in: ErrorGroupService.GetGroup, ErrorGroupService.UpdateGroup
Used as field type in:
,The group resource name. Example: <code>projects/my-project-123/groups/my-groupid</code>
Group IDs are unique for a given project. If the same kind of error occurs in different service contexts, it will receive the same group ID.
Associated tracking issues.
A sorting order of error groups.
Used in:
No group order specified.
Total count of errors in the given time window in descending order.
Timestamp when the group was last seen in the given time window in descending order.
Timestamp when the group was created in descending order.
Number of affected users in the given time window in descending order.
Data extracted for a specific group based on certain filter criteria, such as a given time period and/or service filter.
Used in:
Group data that is independent of the filter criteria.
Approximate total number of events in the given group that match the filter criteria.
Approximate number of affected users in the given group that match the filter criteria. Users are distinguished by data in the `ErrorContext` of the individual error events, such as their login name or their remote IP address in case of HTTP requests. The number of affected users can be zero even if the number of errors is non-zero if no data was provided from which the affected user could be deduced. Users are counted based on data in the request context that was provided in the error report. If more users are implicitly affected, such as due to a crash of the whole service, this is not reflected here.
Approximate number of occurrences over time. Timed counts returned by ListGroups are guaranteed to be: - Inside the requested time interval - Non-overlapping, and - Ordered by ascending time.
Approximate first occurrence that was ever seen for this group and which matches the given filter criteria, ignoring the time_range that was specified in the request.
Approximate last occurrence that was ever seen for this group and which matches the given filter criteria, ignoring the time_range that was specified in the request.
Service contexts with a non-zero error count for the given filter criteria. This list can be truncated if multiple services are affected. Refer to `num_affected_services` for the total count.
The total number of services with a non-zero error count for the given filter criteria.
An arbitrary event that is chosen as representative for the whole group. The representative event is intended to be used as a quick preview for the whole group. Events in the group are usually sufficiently similar to each other such that showing an arbitrary representative provides insight into the characteristics of the group as a whole.
HTTP request data that is related to a reported error. This data should be provided by the application when reporting an error, unless the error report has been generated automatically from Google App Engine logs.
Used in:
The type of HTTP request, such as `GET`, `POST`, etc.
The URL of the request.
The user agent information that is provided with the request.
The referrer information that is provided with the request.
The HTTP response status code for the request.
The IP address from which the request originated. This can be IPv4, IPv6, or a token which is derived from the IP address, depending on the data that has been provided in the error report.
Requests might be rejected or the resulting timed count durations might be adjusted for lower durations.
Used in:
,Restricts the query to the specified time range.
The supported time ranges.
Used in:
Do not use.
Retrieve data for the last hour. Recommended minimum timed count duration: 1 min.
Retrieve data for the last 6 hours. Recommended minimum timed count duration: 10 min.
Retrieve data for the last day. Recommended minimum timed count duration: 1 hour.
Retrieve data for the last week. Recommended minimum timed count duration: 6 hours.
Retrieve data for the last 30 days. Recommended minimum timed count duration: 1 day.
An error event which is reported to the Error Reporting system.
Used in:
[Optional] Time when the event occurred. If not provided, the time when the event was received by the Error Reporting system will be used.
[Required] The service context in which this error has occurred.
[Required] A message describing the error. The message can contain an exception stack in one of the supported programming languages and formats. In that case, the message is parsed and detailed exception information is returned when retrieving the error event again.
[Optional] A description of the context in which the error occurred.
Describes a running service that sends errors. Its version changes over time and multiple versions can run in parallel.
Used in:
, ,An identifier of the service, such as the name of the executable, job, or Google App Engine service name. This field is expected to have a low number of values that are relatively stable over time, as opposed to `version`, which can be changed whenever new code is deployed. Contains the service name for error reports extracted from Google App Engine logs or `default` if the App Engine default service is used.
Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example.
Type of the MonitoredResource. List of possible values: https://cloud.google.com/monitoring/api/resources Value is set automatically for incoming errors and must not be set when reporting errors.
Specifies criteria for filtering a subset of service contexts. The fields in the filter correspond to the fields in `ServiceContext`. Only exact, case-sensitive matches are supported. If a field is unset or empty, it matches arbitrary values.
Used in:
,[Optional] The exact value to match against [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
[Optional] The exact value to match against [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
[Optional] The exact value to match against [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
Indicates a location in the source code of the service for which errors are reported. This data should be provided by the application when reporting an error, unless the error report has been generated automatically from Google App Engine logs. All fields are optional.
Used in:
The source code filename, which can include a truncated relative path, or a full path from a production machine.
1-based. 0 indicates that the line number is unknown.
Human-readable name of a function or method. The value can include optional context like the class or package name. For example, `my.package.MyClass.method` in case of Java.
The number of errors in a given time period. All numbers are approximate since the error events are sampled before counting them.
Used in:
Approximate number of occurrences in the given time period.
Start of the time period to which `count` refers (included).
End of the time period to which `count` refers (excluded).
Specifies how the time periods of error group counts are aligned.
Used in:
No alignment specified.
The time periods shall be consecutive, have width equal to the requested duration, and be aligned at the `alignment_time` provided in the request. The `alignment_time` does not have to be inside the query period but even if it is outside, only time periods are returned which overlap with the query period. A rounded alignment will typically result in a different size of the first or the last time period.
The time periods shall be consecutive, have width equal to the requested duration, and be aligned at the end of the requested time period. This can result in a different size of the first time period.
Information related to tracking the progress on resolving the error.
Used in:
A URL pointing to a related entry in an issue tracking system. Example: https://github.com/user/project/issues/4