MON-272 fix query with ping url instead of port for php

This commit is contained in:
Quentin Manfroi 2018-07-23 15:54:46 +02:00
parent 453c31fc55
commit 7af702e24f

View File

@ -46,7 +46,7 @@ resource "datadog_monitor" "datadog_fpm_process" {
type = "service check"
query = <<EOF
"php_fpm.can_ping".over("${data.template_file.filter.rendered}").by("host","port").last(6).count_by_status()
"php_fpm.can_ping".over("${data.template_file.filter.rendered}").by("host","ping_url").last(6).count_by_status()
EOF
thresholds = {