Use SingleMetricAnomalyDetector.
The statistic to use for the metric and the anomaly detection model.