MON-224 Query alert changed to Metric alert
This commit is contained in:
parent
989fe8794e
commit
d0e2f9106e
@ -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}}"
|
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)}"
|
message = "${coalesce(var.memory_forecast_message, var.message)}"
|
||||||
|
|
||||||
type = "query alert"
|
type = "metric alert"
|
||||||
|
|
||||||
query = <<EOF
|
query = <<EOF
|
||||||
max(${var.memory_forecast_timeframe}):
|
max(${var.memory_forecast_timeframe}):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user