Merged in MON-276-fix-alb-elb-space-aggregator (pull request #115)
MON-276 - space-aggregator fixed Approved-by: Alexandre Gaillet <alexandre.gaillet@fr.clara.net> Approved-by: Quentin Manfroi <quentin.manfroi@yahoo.fr> Approved-by: Jean-Maxime LEBLANC <jean-maxime.leblanc@fr.clara.net> Approved-by: Adrien Broyere <adrien.broyere@fr.clara.net>
This commit is contained in:
commit
df0ecd74c3
@ -15,7 +15,7 @@ resource "datadog_monitor" "ALB_no_healthy_instances" {
|
||||
|
||||
query = <<EOF
|
||||
${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
|
||||
EOF
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ resource "datadog_monitor" "ELB_no_healthy_instances" {
|
||||
|
||||
query = <<EOF
|
||||
${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
|
||||
EOF
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user