class
Amazonite::CloudWatch::AnomalyDetector
- Amazonite::CloudWatch::AnomalyDetector
- Reference
- Object
Overview
An 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.
Included Modules
- JSON::Serializable
Defined in:
cloudwatch/anomaly_detector.crConstructors
- .new(pull : JSON::PullParser)
- .new(anomaly_detector_id : String | Nil = nil, namespace : String | Nil = nil, metric_name : String | Nil = nil, dimensions : Array(Dimension) | Nil = nil, stat : String | Nil = nil, configuration : AnomalyDetectorConfiguration | Nil = nil, state_value : AnomalyDetectorStateValue | Nil = nil, metric_characteristics : MetricCharacteristics | Nil = nil, single_metric_anomaly_detector : SingleMetricAnomalyDetector | Nil = nil, metric_math_anomaly_detector : MetricMathAnomalyDetector | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#anomaly_detector_id : String | Nil
The unique identifier of the anomaly detector.
-
#anomaly_detector_id=(anomaly_detector_id : String | Nil)
The unique identifier of the anomaly detector.
-
#configuration : AnomalyDetectorConfiguration | Nil
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.
-
#configuration=(configuration : AnomalyDetectorConfiguration | Nil)
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.
-
#dimensions : Array(Dimension) | Nil
The metric dimensions associated with the anomaly detection model.
-
#dimensions=(dimensions : Array(Dimension) | Nil)
The metric dimensions associated with the anomaly detection model.
-
#hash(hasher)
See
Object#hash(hasher) -
#metric_characteristics : MetricCharacteristics | Nil
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.
-
#metric_characteristics=(metric_characteristics : MetricCharacteristics | Nil)
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.
-
#metric_math_anomaly_detector : MetricMathAnomalyDetector | Nil
The CloudWatch metric math expression for this anomaly detector.
-
#metric_math_anomaly_detector=(metric_math_anomaly_detector : MetricMathAnomalyDetector | Nil)
The CloudWatch metric math expression for this anomaly detector.
-
#metric_name : String | Nil
The name of the metric associated with the anomaly detection model.
-
#metric_name=(metric_name : String | Nil)
The name of the metric associated with the anomaly detection model.
-
#namespace : String | Nil
The namespace of the metric associated with the anomaly detection model.
-
#namespace=(namespace : String | Nil)
The namespace of the metric associated with the anomaly detection model.
-
#single_metric_anomaly_detector : SingleMetricAnomalyDetector | Nil
The CloudWatch metric and statistic for this anomaly detector.
-
#single_metric_anomaly_detector=(single_metric_anomaly_detector : SingleMetricAnomalyDetector | Nil)
The CloudWatch metric and statistic for this anomaly detector.
-
#stat : String | Nil
The statistic associated with the anomaly detection model.
-
#stat=(stat : String | Nil)
The statistic associated with the anomaly detection model.
-
#state_value : AnomalyDetectorStateValue | Nil
The current status of the anomaly detector's training.
-
#state_value=(state_value : AnomalyDetectorStateValue | Nil)
The current status of the anomaly detector's training.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The unique identifier of the anomaly detector.
The identifier does not restrict access to a specific anomaly detector in an IAM policy. Permissions for anomaly detector operations apply to all anomaly detectors in the account.
The unique identifier of the anomaly detector.
The identifier does not restrict access to a specific anomaly detector in an IAM policy. Permissions for anomaly detector operations apply to all anomaly detectors in the account.
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.
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.
The metric dimensions associated with the anomaly detection model.
The metric dimensions associated with the anomaly detection model.
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.
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.
The CloudWatch metric math expression for this anomaly detector.
The CloudWatch metric math expression for this anomaly detector.
The name of the metric associated with the anomaly detection model.
The name of the metric associated with the anomaly detection model.
The namespace of the metric associated with the anomaly detection model.
The namespace of the metric associated with the anomaly detection model.
The CloudWatch metric and statistic for this anomaly detector.
The CloudWatch metric and statistic for this anomaly detector.
The current status of the anomaly detector's training.
The current status of the anomaly detector's training.