From 2d83e4ab0f0a1b6c9e37bb23431d016718289d47 Mon Sep 17 00:00:00 2001 From: Gauthier Date: Wed, 27 Mar 2019 10:13:26 +0100 Subject: [PATCH] MON-390 Remove % in alerte message, it is a simple count threshold --- cloud/azure/functions/monitors-functions.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/azure/functions/monitors-functions.tf b/cloud/azure/functions/monitors-functions.tf index fbf8bcd..50ba8be 100644 --- a/cloud/azure/functions/monitors-functions.tf +++ b/cloud/azure/functions/monitors-functions.tf @@ -63,7 +63,7 @@ resource "datadog_monitor" "function_high_connections_count" { resource "datadog_monitor" "function_high_threads_count" { 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" message = "${coalesce(var.high_threads_count_message, var.message)}"