Skip to content

Anomaly

Source code in docs_src/capo_codeguruprofiler/types/anomaly.py
class Anomaly(TypedDict, closed=True):
    metric: "capo_codeguruprofiler.types.metric.Metric"
    """<p> Details 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. </p>"""
    reason: "str"
    """<p>The reason for which metric was flagged as anomalous.</p>"""
    instances: "capo_codeguruprofiler.types.anomaly_instances.AnomalyInstances"
    """<p> A list of the instances of the detected anomalies during the requested period. </p>"""

instances instance-attribute

instances: AnomalyInstances

A list of the instances of the detected anomalies during the requested period.

metric instance-attribute

metric: Metric

Details 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 instance-attribute

reason: str

The reason for which metric was flagged as anomalous.