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] [google.devtools.clouderrorreporting.v1beta1.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§
source§impl Clone for ErrorGroupStats
impl Clone for ErrorGroupStats
source§fn clone(&self) -> ErrorGroupStats
fn clone(&self) -> ErrorGroupStats
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ErrorGroupStats
impl Debug for ErrorGroupStats
source§impl Default for ErrorGroupStats
impl Default for ErrorGroupStats
source§impl Message for ErrorGroupStats
impl Message for ErrorGroupStats
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ErrorGroupStats
impl PartialEq for ErrorGroupStats
source§fn eq(&self, other: &ErrorGroupStats) -> bool
fn eq(&self, other: &ErrorGroupStats) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ErrorGroupStats
Auto Trait Implementations§
impl Freeze for ErrorGroupStats
impl RefUnwindSafe for ErrorGroupStats
impl Send for ErrorGroupStats
impl Sync for ErrorGroupStats
impl Unpin for ErrorGroupStats
impl UnwindSafe for ErrorGroupStats
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request