Values.AnomalyDetectorSourceAn anomaly detection model associated with a particular CloudWatch metric, statistic, or metric math expression. You can use the model to display a band of expected, normal values when the metric is graphed. If you have enabled unified cross-account observability, and this account is a monitoring account, the metric can be in the same account or a source account.
type nonrec t = {namespace : Namespace.t option;The namespace of the metric associated with the anomaly detection model.
*)metricName : MetricName.t option;The name of the metric associated with the anomaly detection model.
*)dimensions : Dimensions.t option;The metric dimensions associated with the anomaly detection model.
*)stat : AnomalyDetectorMetricStat.t option;The statistic associated with the anomaly detection model.
*)configuration : AnomalyDetectorConfiguration.t option;The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude from use for training the model, and the time zone to use for the metric.
*)stateValue : AnomalyDetectorStateValue.t option;The current status of the anomaly detector's training.
*)metricCharacteristics : MetricCharacteristics.t option;This object includes parameters that you can use to provide information about your metric to CloudWatch to help it build more accurate anomaly detection models. Currently, it includes the PeriodicSpikes parameter.
*)singleMetricAnomalyDetector : SingleMetricAnomalyDetector.t option;The CloudWatch metric and statistic for this anomaly detector.
*)metricMathAnomalyDetector : MetricMathAnomalyDetector.t option;The CloudWatch metric math expression for this anomaly detector.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of (string * [> `String of DimensionName.t ]) list ]
list
| `String of Namespace.t
| `Structure of
(string
* [> `Boolean of PeriodicSpikes.t
| `List of
[> `Structure of
(string
* [> `Boolean of ReturnData.t
| `Integer of Period.t
| `String of DimensionName.t
| `Structure of
(string
* [> `Enum of string
| `Integer of Period.t
| `String of Stat.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of DimensionName.t ])
list ]
list
| `String of Namespace.t ])
list ])
list
| `Timestamp of Timestamp.t ])
list ]
list
| `String of AnomalyDetectorMetricTimezone.t ])
list ])
list ]