Struct aws_sdk_xray::model::TraceSummary
source · #[non_exhaustive]pub struct TraceSummary { /* private fields */ }
Expand description
Metadata generated from the segment documents in a trace.
Implementations§
source§impl 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.
source§impl TraceSummary
impl TraceSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TraceSummary
.
Trait Implementations§
source§impl Clone for TraceSummary
impl Clone for TraceSummary
source§fn clone(&self) -> TraceSummary
fn clone(&self) -> TraceSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TraceSummary
impl Debug for TraceSummary
source§impl PartialEq<TraceSummary> for TraceSummary
impl PartialEq<TraceSummary> for TraceSummary
source§fn eq(&self, other: &TraceSummary) -> bool
fn eq(&self, other: &TraceSummary) -> bool
self
and other
values to be equal, and is used
by ==
.