MON-390 Remove % in alerte message, it is a simple count threshold

This commit is contained in:
Gauthier 2019-03-27 10:04:55 +01:00 committed by Laurent Piroelle
parent 56a4e38a49
commit b1a08ac296

View File

@ -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)}"