Class: Google::Devtools::Clouderrorreporting::V1beta1::ErrorGroupStats

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/error_stats_service.rb

Overview

Data extracted for a specific group based on certain filter criteria, such as a given time period and/or service filter.

Instance Attribute Summary collapse

Instance Attribute Details

#affected_servicesArray<Google::Devtools::Clouderrorreporting::V1beta1::ServiceContext>

Returns 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.

Returns:



147
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/error_stats_service.rb', line 147

class ErrorGroupStats; end

#affected_users_countInteger

Returns 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.

Returns:

  • (Integer)

    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.



147
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/error_stats_service.rb', line 147

class ErrorGroupStats; end

#countInteger

Returns Approximate total number of events in the given group that match the filter criteria.

Returns:

  • (Integer)

    Approximate total number of events in the given group that match the filter criteria.



147
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/error_stats_service.rb', line 147

class ErrorGroupStats; end

#first_seen_timeGoogle::Protobuf::Timestamp

Returns 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.

Returns:

  • (Google::Protobuf::Timestamp)

    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.



147
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/error_stats_service.rb', line 147

class ErrorGroupStats; end

#groupGoogle::Devtools::Clouderrorreporting::V1beta1::ErrorGroup

Returns Group data that is independent of the filter criteria.

Returns:



147
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/error_stats_service.rb', line 147

class ErrorGroupStats; end

#last_seen_timeGoogle::Protobuf::Timestamp

Returns 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.

Returns:

  • (Google::Protobuf::Timestamp)

    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.



147
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/error_stats_service.rb', line 147

class ErrorGroupStats; end

#num_affected_servicesInteger

Returns The total number of services with a non-zero error count for the given filter criteria.

Returns:

  • (Integer)

    The total number of services with a non-zero error count for the given filter criteria.



147
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/error_stats_service.rb', line 147

class ErrorGroupStats; end

#representativeGoogle::Devtools::Clouderrorreporting::V1beta1::ErrorEvent

Returns 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.

Returns:

  • (Google::Devtools::Clouderrorreporting::V1beta1::ErrorEvent)

    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.



147
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/error_stats_service.rb', line 147

class ErrorGroupStats; end

#timed_countsArray<Google::Devtools::Clouderrorreporting::V1beta1::TimedCount>

Returns 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.

Returns:



147
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/error_stats_service.rb', line 147

class ErrorGroupStats; end