Creates an anomaly detection model for a CloudWatch metric. You can use the model to display a band of expected normal values when the metric is graphed.
See https://www.paws-r-sdk.com/docs/cloudwatch_put_anomaly_detector/ for full documentation.
cloudwatch_put_anomaly_detector(
Namespace = NULL,
MetricName = NULL,
Dimensions = NULL,
Stat = NULL,
Configuration = NULL,
MetricCharacteristics = NULL,
SingleMetricAnomalyDetector = NULL,
MetricMathAnomalyDetector = NULL
)
The namespace of the metric to create the anomaly detection model for.
The name of the metric to create the anomaly detection model for.
The metric dimensions to create the anomaly detection model for.
The statistic to use for the metric and the anomaly detection model.
The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model. You can specify as many as 10 time ranges.
The configuration can also include the time zone to use for the metric.
Use this object to include parameters to provide information about your
metric to CloudWatch to help it build more accurate anomaly detection
models. Currently, it includes the PeriodicSpikes
parameter.
A single metric anomaly detector to be created.
When using SingleMetricAnomalyDetector
, you cannot include the
following parameters in the same operation:
Dimensions
MetricName
Namespace
Stat
the MetricMathAnomalyDetector
parameters of
PutAnomalyDetectorInput
Instead, specify the single metric anomaly detector attributes as part
of the property SingleMetricAnomalyDetector
.
The metric math anomaly detector to be created.
When using MetricMathAnomalyDetector
, you cannot include the following
parameters in the same operation:
Dimensions
MetricName
Namespace
Stat
the SingleMetricAnomalyDetector
parameters of
PutAnomalyDetectorInput
Instead, specify the metric math anomaly detector attributes as part of
the property MetricMathAnomalyDetector
.