Struct aws_sdk_xray::model::InsightEvent
source · [−]#[non_exhaustive]pub struct InsightEvent {
pub summary: Option<String>,
pub event_time: Option<DateTime>,
pub client_request_impact_statistics: Option<RequestImpactStatistics>,
pub root_cause_service_request_impact_statistics: Option<RequestImpactStatistics>,
pub top_anomalous_services: Option<Vec<AnomalousService>>,
}
Expand description
X-Ray reevaluates insights periodically until they are resolved, and records each intermediate state in an event. You can review incident events in the Impact Timeline on the Inspect page in the X-Ray console.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.summary: Option<String>
A brief description of the event.
event_time: Option<DateTime>
The time, in Unix seconds, at which the event was recorded.
client_request_impact_statistics: Option<RequestImpactStatistics>
The impact statistics of the client side service. This includes the number of requests to the client service and whether the requests were faults or okay.
root_cause_service_request_impact_statistics: Option<RequestImpactStatistics>
The impact statistics of the root cause service. This includes the number of requests to the client service and whether the requests were faults or okay.
top_anomalous_services: Option<Vec<AnomalousService>>
The service during the event that is most impacted by the incident.
Implementations
sourceimpl InsightEvent
impl InsightEvent
sourcepub fn event_time(&self) -> Option<&DateTime>
pub fn event_time(&self) -> Option<&DateTime>
The time, in Unix seconds, at which the event was recorded.
sourcepub fn client_request_impact_statistics(
&self
) -> Option<&RequestImpactStatistics>
pub fn client_request_impact_statistics(
&self
) -> Option<&RequestImpactStatistics>
The impact statistics of the client side service. This includes the number of requests to the client service and whether the requests were faults or okay.
sourcepub fn root_cause_service_request_impact_statistics(
&self
) -> Option<&RequestImpactStatistics>
pub fn root_cause_service_request_impact_statistics(
&self
) -> Option<&RequestImpactStatistics>
The impact statistics of the root cause service. This includes the number of requests to the client service and whether the requests were faults or okay.
sourcepub fn top_anomalous_services(&self) -> Option<&[AnomalousService]>
pub fn top_anomalous_services(&self) -> Option<&[AnomalousService]>
The service during the event that is most impacted by the incident.
sourceimpl InsightEvent
impl InsightEvent
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InsightEvent
Trait Implementations
sourceimpl Clone for InsightEvent
impl Clone for InsightEvent
sourcefn clone(&self) -> InsightEvent
fn clone(&self) -> InsightEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InsightEvent
impl Debug for InsightEvent
sourceimpl PartialEq<InsightEvent> for InsightEvent
impl PartialEq<InsightEvent> for InsightEvent
sourcefn eq(&self, other: &InsightEvent) -> bool
fn eq(&self, other: &InsightEvent) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InsightEvent) -> bool
fn ne(&self, other: &InsightEvent) -> bool
This method tests for !=
.
impl StructuralPartialEq for InsightEvent
Auto Trait Implementations
impl RefUnwindSafe for InsightEvent
impl Send for InsightEvent
impl Sync for InsightEvent
impl Unpin for InsightEvent
impl UnwindSafe for InsightEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more