Struct aws_sdk_xray::model::TraceSummary
source · [−]#[non_exhaustive]pub struct TraceSummary {Show 20 fields
pub id: Option<String>,
pub duration: Option<f64>,
pub response_time: Option<f64>,
pub has_fault: Option<bool>,
pub has_error: Option<bool>,
pub has_throttle: Option<bool>,
pub is_partial: Option<bool>,
pub http: Option<Http>,
pub annotations: Option<HashMap<String, Vec<ValueWithServiceIds>>>,
pub users: Option<Vec<TraceUser>>,
pub service_ids: Option<Vec<ServiceId>>,
pub resource_ar_ns: Option<Vec<ResourceArnDetail>>,
pub instance_ids: Option<Vec<InstanceIdDetail>>,
pub availability_zones: Option<Vec<AvailabilityZoneDetail>>,
pub entry_point: Option<ServiceId>,
pub fault_root_causes: Option<Vec<FaultRootCause>>,
pub error_root_causes: Option<Vec<ErrorRootCause>>,
pub response_time_root_causes: Option<Vec<ResponseTimeRootCause>>,
pub revision: i32,
pub matched_event_time: Option<DateTime>,
}
Expand description
Metadata generated from the segment documents in a trace.
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.id: Option<String>
The unique identifier for the request that generated the trace's segments and subsegments.
duration: Option<f64>
The length of time in seconds between the start time of the root segment and the end time of the last segment that completed.
response_time: Option<f64>
The length of time in seconds between the start and end times of the root segment. If the service performs work asynchronously, the response time measures the time before the response is sent to the user, while the duration measures the amount of time before the last traced activity completes.
has_fault: Option<bool>
The root segment document has a 500 series error.
has_error: Option<bool>
The root segment document has a 400 series error.
has_throttle: Option<bool>
One or more of the segment documents has a 429 throttling error.
is_partial: Option<bool>
One or more of the segment documents is in progress.
http: Option<Http>
Information about the HTTP request served by the trace.
annotations: Option<HashMap<String, Vec<ValueWithServiceIds>>>
Annotations from the trace's segment documents.
users: Option<Vec<TraceUser>>
Users from the trace's segment documents.
service_ids: Option<Vec<ServiceId>>
Service IDs from the trace's segment documents.
resource_ar_ns: Option<Vec<ResourceArnDetail>>
A list of resource ARNs for any resource corresponding to the trace segments.
instance_ids: Option<Vec<InstanceIdDetail>>
A list of EC2 instance IDs for any instance corresponding to the trace segments.
availability_zones: Option<Vec<AvailabilityZoneDetail>>
A list of Availability Zones for any zone corresponding to the trace segments.
entry_point: Option<ServiceId>
The root of a trace.
fault_root_causes: Option<Vec<FaultRootCause>>
A collection of FaultRootCause structures corresponding to the trace segments.
error_root_causes: Option<Vec<ErrorRootCause>>
A collection of ErrorRootCause structures corresponding to the trace segments.
response_time_root_causes: Option<Vec<ResponseTimeRootCause>>
A collection of ResponseTimeRootCause structures corresponding to the trace segments.
revision: i32
The revision number of a trace.
matched_event_time: Option<DateTime>
The matched time stamp of a defined event.
Implementations
sourceimpl TraceSummary
impl TraceSummary
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The unique identifier for the request that generated the trace's segments and subsegments.
sourcepub fn duration(&self) -> Option<f64>
pub fn duration(&self) -> Option<f64>
The length of time in seconds between the start time of the root segment and the end time of the last segment that completed.
sourcepub fn response_time(&self) -> Option<f64>
pub fn response_time(&self) -> Option<f64>
The length of time in seconds between the start and end times of the root segment. If the service performs work asynchronously, the response time measures the time before the response is sent to the user, while the duration measures the amount of time before the last traced activity completes.
sourcepub fn has_throttle(&self) -> Option<bool>
pub fn has_throttle(&self) -> Option<bool>
One or more of the segment documents has a 429 throttling error.
sourcepub fn is_partial(&self) -> Option<bool>
pub fn is_partial(&self) -> Option<bool>
One or more of the segment documents is in progress.
sourcepub fn annotations(&self) -> Option<&HashMap<String, Vec<ValueWithServiceIds>>>
pub fn annotations(&self) -> Option<&HashMap<String, Vec<ValueWithServiceIds>>>
Annotations from the trace's segment documents.
sourcepub fn service_ids(&self) -> Option<&[ServiceId]>
pub fn service_ids(&self) -> Option<&[ServiceId]>
Service IDs from the trace's segment documents.
sourcepub fn resource_ar_ns(&self) -> Option<&[ResourceArnDetail]>
pub fn resource_ar_ns(&self) -> Option<&[ResourceArnDetail]>
A list of resource ARNs for any resource corresponding to the trace segments.
sourcepub fn instance_ids(&self) -> Option<&[InstanceIdDetail]>
pub fn instance_ids(&self) -> Option<&[InstanceIdDetail]>
A list of EC2 instance IDs for any instance corresponding to the trace segments.
sourcepub fn availability_zones(&self) -> Option<&[AvailabilityZoneDetail]>
pub fn availability_zones(&self) -> Option<&[AvailabilityZoneDetail]>
A list of Availability Zones for any zone corresponding to the trace segments.
sourcepub fn entry_point(&self) -> Option<&ServiceId>
pub fn entry_point(&self) -> Option<&ServiceId>
The root of a trace.
sourcepub fn fault_root_causes(&self) -> Option<&[FaultRootCause]>
pub fn fault_root_causes(&self) -> Option<&[FaultRootCause]>
A collection of FaultRootCause structures corresponding to the trace segments.
sourcepub fn error_root_causes(&self) -> Option<&[ErrorRootCause]>
pub fn error_root_causes(&self) -> Option<&[ErrorRootCause]>
A collection of ErrorRootCause structures corresponding to the trace segments.
sourcepub fn response_time_root_causes(&self) -> Option<&[ResponseTimeRootCause]>
pub fn response_time_root_causes(&self) -> Option<&[ResponseTimeRootCause]>
A collection of ResponseTimeRootCause structures corresponding to the trace segments.
sourcepub fn matched_event_time(&self) -> Option<&DateTime>
pub fn matched_event_time(&self) -> Option<&DateTime>
The matched time stamp of a defined event.
sourceimpl TraceSummary
impl TraceSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TraceSummary
Trait Implementations
sourceimpl Clone for TraceSummary
impl Clone for TraceSummary
sourcefn clone(&self) -> TraceSummary
fn clone(&self) -> TraceSummary
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 TraceSummary
impl Debug for TraceSummary
sourceimpl PartialEq<TraceSummary> for TraceSummary
impl PartialEq<TraceSummary> for TraceSummary
sourcefn eq(&self, other: &TraceSummary) -> bool
fn eq(&self, other: &TraceSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TraceSummary) -> bool
fn ne(&self, other: &TraceSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for TraceSummary
Auto Trait Implementations
impl RefUnwindSafe for TraceSummary
impl Send for TraceSummary
impl Sync for TraceSummary
impl Unpin for TraceSummary
impl UnwindSafe for TraceSummary
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