diff --git a/cloud/azure/functions/monitors-functions.tf b/cloud/azure/functions/monitors-functions.tf index 0bd908a..fbf8bcd 100644 --- a/cloud/azure/functions/monitors-functions.tf +++ b/cloud/azure/functions/monitors-functions.tf @@ -32,7 +32,7 @@ resource "datadog_monitor" "function_http_5xx_errors_rate" { resource "datadog_monitor" "function_high_connections_count" { count = "${var.high_connections_count_enabled ? 1 : 0}" - name = "[${var.environment}] Function App connections count too high {{#is_alert}}{{{comparator}}} {{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{{comparator}}} {{warn_threshold}}% ({{value}}%){{/is_warning}}" + name = "[${var.environment}] Function App connections count too high {{#is_alert}}{{{comparator}}} {{threshold}} ({{value}}){{/is_alert}}{{#is_warning}}{{{comparator}}} {{warn_threshold}} ({{value}}){{/is_warning}}" type = "metric alert" message = "${coalesce(var.high_connections_count_message, var.message)}"