Struct aws_sdk_codeguruprofiler::model::Metric [−][src]
#[non_exhaustive]pub struct Metric {
pub frame_name: Option<String>,
pub type: Option<MetricType>,
pub thread_states: Option<Vec<String>>,
}
Expand description
Details about the metric that the analysis used when it detected the anomaly. The metric what is analyzed to create recommendations. It includes the name of the frame that was analyzed and the type and thread states used to derive the metric value for that frame.
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.frame_name: Option<String>
The name of the method that appears as a frame in any stack in a profile.
type: Option<MetricType>
A type that specifies how a metric for a frame is analyzed. The supported value AggregatedRelativeTotalTime
is an aggregation of the metric value for one frame that is calculated across the occurences of all frames in a profile.
thread_states: Option<Vec<String>>
The list of application runtime thread states that is used to calculate the metric value for the frame.
Implementations
The name of the method that appears as a frame in any stack in a profile.
A type that specifies how a metric for a frame is analyzed. The supported value AggregatedRelativeTotalTime
is an aggregation of the metric value for one frame that is calculated across the occurences of all frames in a profile.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Metric
impl UnwindSafe for Metric
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more