MON-224 Fix timeframe on questions changing anomaly monitor

This commit is contained in:
Rafael Romero Carmona 2018-07-30 13:06:06 +02:00 committed by Quentin Manfroi
parent e09b68134d
commit 5293e24faf

View File

@ -174,7 +174,7 @@ resource "datadog_monitor" "questions_changing_anomaly" {
type = "query alert"
query = <<EOF
avg(last_1h):
avg(${var.questions_changing_anomaly_timeframe}):
anomalies(
avg:gcp.cloudsql.database.mysql.questions{${data.template_file.filter.rendered}} by {database_id},
'${var.questions_changing_anomaly_detection_algorithm}',