Struct aws_sdk_xray::types::Edge
source · #[non_exhaustive]pub struct Edge {
pub reference_id: Option<i32>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub summary_statistics: Option<EdgeStatistics>,
pub response_time_histogram: Option<Vec<HistogramEntry>>,
pub aliases: Option<Vec<Alias>>,
pub edge_type: Option<String>,
pub received_event_age_histogram: Option<Vec<HistogramEntry>>,
}
Expand description
Information about a connection between two services. An edge can be a synchronous connection, such as typical call between client and service, or an asynchronous link, such as a Lambda function which retrieves an event from an SNS queue.
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.reference_id: Option<i32>
Identifier of the edge. Unique within a service map.
start_time: Option<DateTime>
The start time of the first segment on the edge.
end_time: Option<DateTime>
The end time of the last segment on the edge.
summary_statistics: Option<EdgeStatistics>
Response statistics for segments on the edge.
response_time_histogram: Option<Vec<HistogramEntry>>
A histogram that maps the spread of client response times on an edge. Only populated for synchronous edges.
aliases: Option<Vec<Alias>>
Aliases for the edge.
edge_type: Option<String>
Describes an asynchronous connection, with a value of link
.
received_event_age_histogram: Option<Vec<HistogramEntry>>
A histogram that maps the spread of event age when received by consumers. Age is calculated each time an event is received. Only populated when EdgeType is link
.
Implementations§
source§impl Edge
impl Edge
sourcepub fn reference_id(&self) -> Option<i32>
pub fn reference_id(&self) -> Option<i32>
Identifier of the edge. Unique within a service map.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The start time of the first segment on the edge.
sourcepub fn summary_statistics(&self) -> Option<&EdgeStatistics>
pub fn summary_statistics(&self) -> Option<&EdgeStatistics>
Response statistics for segments on the edge.
sourcepub fn response_time_histogram(&self) -> &[HistogramEntry]
pub fn response_time_histogram(&self) -> &[HistogramEntry]
A histogram that maps the spread of client response times on an edge. Only populated for synchronous edges.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .response_time_histogram.is_none()
.
sourcepub fn aliases(&self) -> &[Alias]
pub fn aliases(&self) -> &[Alias]
Aliases for the edge.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .aliases.is_none()
.
sourcepub fn edge_type(&self) -> Option<&str>
pub fn edge_type(&self) -> Option<&str>
Describes an asynchronous connection, with a value of link
.
sourcepub fn received_event_age_histogram(&self) -> &[HistogramEntry]
pub fn received_event_age_histogram(&self) -> &[HistogramEntry]
A histogram that maps the spread of event age when received by consumers. Age is calculated each time an event is received. Only populated when EdgeType is link
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .received_event_age_histogram.is_none()
.