MON-224 Fix timeframe on questions changing anomaly monitor
This commit is contained in:
parent
e09b68134d
commit
5293e24faf
@ -174,7 +174,7 @@ resource "datadog_monitor" "questions_changing_anomaly" {
|
|||||||
type = "query alert"
|
type = "query alert"
|
||||||
|
|
||||||
query = <<EOF
|
query = <<EOF
|
||||||
avg(last_1h):
|
avg(${var.questions_changing_anomaly_timeframe}):
|
||||||
anomalies(
|
anomalies(
|
||||||
avg:gcp.cloudsql.database.mysql.questions{${data.template_file.filter.rendered}} by {database_id},
|
avg:gcp.cloudsql.database.mysql.questions{${data.template_file.filter.rendered}} by {database_id},
|
||||||
'${var.questions_changing_anomaly_detection_algorithm}',
|
'${var.questions_changing_anomaly_detection_algorithm}',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user