libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeGuruProfiler.Types.Anomaly

Description

 
Synopsis

Documentation

data Anomaly Source #

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.

See: newAnomaly smart constructor.

Constructors

Anomaly' 

Fields

  • instances :: [AnomalyInstance]

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

  • 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 :: Text

    The reason for which metric was flagged as anomalous.

Instances

Instances details
Eq Anomaly Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Anomaly

Methods

(==) :: Anomaly -> Anomaly -> Bool #

(/=) :: Anomaly -> Anomaly -> Bool #

Read Anomaly Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Anomaly

Show Anomaly Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Anomaly

Generic Anomaly Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Anomaly

Associated Types

type Rep Anomaly :: Type -> Type #

Methods

from :: Anomaly -> Rep Anomaly x #

to :: Rep Anomaly x -> Anomaly #

NFData Anomaly Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Anomaly

Methods

rnf :: Anomaly -> () #

Hashable Anomaly Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Anomaly

Methods

hashWithSalt :: Int -> Anomaly -> Int #

hash :: Anomaly -> Int #

FromJSON Anomaly Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Anomaly

type Rep Anomaly Source # 
Instance details

Defined in Amazonka.CodeGuruProfiler.Types.Anomaly

type Rep Anomaly = D1 ('MetaData "Anomaly" "Amazonka.CodeGuruProfiler.Types.Anomaly" "libZSservicesZSamazonka-codeguruprofilerZSamazonka-codeguruprofiler" 'False) (C1 ('MetaCons "Anomaly'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [AnomalyInstance]) :*: (S1 ('MetaSel ('Just "metric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Metric) :*: S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newAnomaly Source #

Create a value of Anomaly with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:instances:Anomaly', anomaly_instances - A list of the instances of the detected anomalies during the requested period.

$sel:metric:Anomaly', anomaly_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.

$sel:reason:Anomaly', anomaly_reason - The reason for which metric was flagged as anomalous.

anomaly_instances :: Lens' Anomaly [AnomalyInstance] Source #

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

anomaly_metric :: Lens' Anomaly Metric Source #

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.

anomaly_reason :: Lens' Anomaly Text Source #

The reason for which metric was flagged as anomalous.