MON-96 - ALB memory monitor unit fixed

This commit is contained in:
Alexandre Gaillet 2018-03-27 16:29:55 +02:00
parent 55471dc457
commit 78e4ccc257

View File

@ -38,7 +38,7 @@ resource "datadog_monitor" "ALB_no_healthy_instances" {
}
resource "datadog_monitor" "ALB_latency" {
name = "[${var.environment}] ALB latency {{#is_alert}}{{comparator}} {{threshold}}% ({{value}}%){{/is_alert}}{{#is_warning}}{{comparator}} {{warn_threshold}}% ({{value}}%){{/is_warning}}"
name = "[${var.environment}] ALB latency {{#is_alert}}{{comparator}} {{threshold}}s ({{value}}s){{/is_alert}}{{#is_warning}}{{comparator}} {{warn_threshold}}s ({{value}}s){{/is_warning}}"
type = "metric alert"
message = "${coalesce(var.latency_message, var.message)}"