MON-224 Query alert changed to Metric alert

This commit is contained in:
Rafael Romero Carmona 2018-06-15 12:35:55 +02:00 committed by Quentin Manfroi
parent 989fe8794e
commit d0e2f9106e

View File

@ -140,7 +140,7 @@ resource "datadog_monitor" "memory_utilization_forecast" {
name = "[${var.environment}] Cloud SQL Memory Utilization Forecast {{#is_alert}}{{{comparator}}} {{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{{comparator}}} {{warn_threshold}}% ({{value}}%){{/is_warning}}"
message = "${coalesce(var.memory_forecast_message, var.message)}"
type = "query alert"
type = "metric alert"
query = <<EOF
max(${var.memory_forecast_timeframe}):