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

This commit is contained in:
Gauthier 2019-03-27 10:13:26 +01:00 committed by Laurent Piroelle
parent b1a08ac296
commit 2d83e4ab0f

View File

@ -63,7 +63,7 @@ resource "datadog_monitor" "function_high_connections_count" {
resource "datadog_monitor" "function_high_threads_count" { resource "datadog_monitor" "function_high_threads_count" {
count = "${var.high_threads_count_enabled ? 1 : 0}" count = "${var.high_threads_count_enabled ? 1 : 0}"
name = "[${var.environment}] Function App threads count too high {{#is_alert}}{{{comparator}}} {{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{{comparator}}} {{warn_threshold}}% ({{value}}%){{/is_warning}}" name = "[${var.environment}] Function App threads count too high {{#is_alert}}{{{comparator}}} {{threshold}} ({{value}}){{/is_alert}}{{#is_warning}}{{{comparator}}} {{warn_threshold}} ({{value}}){{/is_warning}}"
type = "metric alert" type = "metric alert"
message = "${coalesce(var.high_threads_count_message, var.message)}" message = "${coalesce(var.high_threads_count_message, var.message)}"