Struct googapis::google::devtools::clouderrorreporting::v1beta1::ErrorGroupStats [−][src]
pub struct ErrorGroupStats {
pub group: Option<ErrorGroup>,
pub count: i64,
pub affected_users_count: i64,
pub timed_counts: Vec<TimedCount>,
pub first_seen_time: Option<Timestamp>,
pub last_seen_time: Option<Timestamp>,
pub affected_services: Vec<ServiceContext>,
pub num_affected_services: i32,
pub representative: Option<ErrorEvent>,
}
Expand description
Data extracted for a specific group based on certain filter criteria, such as a given time period and/or service filter.
Fields
group: Option<ErrorGroup>
Group data that is independent of the filter criteria.
count: i64
Approximate total number of events in the given group that match the filter criteria.
affected_users_count: i64
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.
timed_counts: Vec<TimedCount>
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.
first_seen_time: Option<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.
last_seen_time: Option<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.
affected_services: Vec<ServiceContext>
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.
num_affected_services: i32
The total number of services with a non-zero error count for the given filter criteria.
representative: Option<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.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ErrorGroupStats
impl Send for ErrorGroupStats
impl Sync for ErrorGroupStats
impl Unpin for ErrorGroupStats
impl UnwindSafe for ErrorGroupStats
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more