MON-276 - space-aggregator fixed

This commit is contained in:
Alexandre Gaillet 2018-07-27 14:13:52 +02:00
parent 453c31fc55
commit 18361bd47c
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ resource "datadog_monitor" "ALB_no_healthy_instances" {
query = <<EOF query = <<EOF
${var.alb_no_healthy_instances_time_aggregator}(${var.alb_no_healthy_instances_timeframe}): ( ${var.alb_no_healthy_instances_time_aggregator}(${var.alb_no_healthy_instances_timeframe}): (
min:aws.applicationelb.healthy_host_count{${data.template_file.filter.rendered}} by {region,loadbalancer} sum:aws.applicationelb.healthy_host_count{${data.template_file.filter.rendered}} by {region,loadbalancer}
) < 1 ) < 1
EOF EOF

View File

@ -12,7 +12,7 @@ resource "datadog_monitor" "ELB_no_healthy_instances" {
query = <<EOF query = <<EOF
${var.elb_no_healthy_instance_time_aggregator}(${var.elb_no_healthy_instance_timeframe}): ( ${var.elb_no_healthy_instance_time_aggregator}(${var.elb_no_healthy_instance_timeframe}): (
min:aws.elb.healthy_host_count{${data.template_file.filter.rendered}} by {region,loadbalancername} sum:aws.elb.healthy_host_count{${data.template_file.filter.rendered}} by {region,loadbalancername}
) < 1 ) < 1
EOF EOF