pub struct Anomaly {
pub instances: Vec<AnomalyInstance>,
pub metric: Metric,
pub reason: String,
}Expand description
Details about an anomaly in a specific metric of application profile. The anomaly is detected using analysis of the metric data over a period of time.
Fields§
§instances: Vec<AnomalyInstance>A list of the instances of the detected anomalies during the requested period.
metric: MetricDetails about the metric that the analysis used when it detected the anomaly. The metric includes the name of the frame that was analyzed with the type and thread states used to derive the metric value for that frame.
reason: StringThe reason for which metric was flagged as anomalous.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Anomaly
impl<'de> Deserialize<'de> for Anomaly
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Anomaly
Auto Trait Implementations§
impl Freeze for Anomaly
impl RefUnwindSafe for Anomaly
impl Send for Anomaly
impl Sync for Anomaly
impl Unpin for Anomaly
impl UnwindSafe for Anomaly
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more