Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Anomaly = Anomaly' {}
- newAnomaly :: Metric -> Text -> Anomaly
- anomaly_instances :: Lens' Anomaly [AnomalyInstance]
- anomaly_metric :: Lens' Anomaly Metric
- anomaly_reason :: Lens' Anomaly Text
Documentation
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.
Anomaly' | |
|
Instances
Eq Anomaly Source # | |
Read Anomaly Source # | |
Show Anomaly Source # | |
Generic Anomaly Source # | |
NFData Anomaly Source # | |
Defined in Amazonka.CodeGuruProfiler.Types.Anomaly | |
Hashable Anomaly Source # | |
Defined in Amazonka.CodeGuruProfiler.Types.Anomaly | |
FromJSON Anomaly Source # | |
type Rep Anomaly Source # | |
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)))) |
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.