Creates an anomaly detection model for a CloudWatch metric
Source:R/cloudwatch_operations.R
cloudwatch_put_anomaly_detector.RdCreates 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.
Usage
cloudwatch_put_anomaly_detector(
Namespace = NULL,
MetricName = NULL,
Dimensions = NULL,
Stat = NULL,
Configuration = NULL,
MetricCharacteristics = NULL,
SingleMetricAnomalyDetector = NULL,
MetricMathAnomalyDetector = NULL
)Arguments
- Namespace
The namespace of the metric to create the anomaly detection model for.
- MetricName
The name of the metric to create the anomaly detection model for.
- Dimensions
The metric dimensions to create the anomaly detection model for.
- Stat
The statistic to use for the metric and the anomaly detection model.
- Configuration
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.
- MetricCharacteristics
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
PeriodicSpikesparameter.- SingleMetricAnomalyDetector
A single metric anomaly detector to be created.
When using
SingleMetricAnomalyDetector, you cannot include the following parameters in the same operation:DimensionsMetricNameNamespaceStatthe
MetricMathAnomalyDetectorparameters ofPutAnomalyDetectorInput
Instead, specify the single metric anomaly detector attributes as part of the property
SingleMetricAnomalyDetector.- MetricMathAnomalyDetector
The metric math anomaly detector to be created.
When using
MetricMathAnomalyDetector, you cannot include the following parameters in the same operation:DimensionsMetricNameNamespaceStatthe
SingleMetricAnomalyDetectorparameters ofPutAnomalyDetectorInput
Instead, specify the metric math anomaly detector attributes as part of the property
MetricMathAnomalyDetector.