MON-301 remove over from all service check
This commit is contained in:
parent
63e6fe59dd
commit
0f170c4074
@ -7,7 +7,7 @@ resource "datadog_monitor" "not_responding" {
|
|||||||
message = "${coalesce(var.not_responding_message, var.message)}"
|
message = "${coalesce(var.not_responding_message, var.message)}"
|
||||||
|
|
||||||
query = <<EOL
|
query = <<EOL
|
||||||
"elasticsearch.can_connect".over${module.filter-tags.service_check}.by("server","port").last(6).count_by_status()
|
"elasticsearch.can_connect"${module.filter-tags.service_check}.by("server","port").last(6).count_by_status()
|
||||||
EOL
|
EOL
|
||||||
|
|
||||||
type = "service check"
|
type = "service check"
|
||||||
|
|||||||
@ -6,7 +6,7 @@ resource "datadog_monitor" "mysql_availability" {
|
|||||||
type = "service check"
|
type = "service check"
|
||||||
|
|
||||||
query = <<EOF
|
query = <<EOF
|
||||||
"mysql.can_connect".over${module.filter-tags.service_check}.by("port","server").last(6).count_by_status()
|
"mysql.can_connect"${module.filter-tags.service_check}.by("port","server").last(6).count_by_status()
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
thresholds = {
|
thresholds = {
|
||||||
|
|||||||
@ -6,7 +6,7 @@ resource "datadog_monitor" "postgresql_availability" {
|
|||||||
type = "service check"
|
type = "service check"
|
||||||
|
|
||||||
query = <<EOF
|
query = <<EOF
|
||||||
"postgres.can_connect".over${module.filter-tags.service_check}.by("port","server").last(6).count_by_status()
|
"postgres.can_connect"${module.filter-tags.service_check}.by("port","server").last(6).count_by_status()
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
thresholds = {
|
thresholds = {
|
||||||
|
|||||||
@ -9,7 +9,7 @@ resource "datadog_monitor" "not_responding" {
|
|||||||
type = "service check"
|
type = "service check"
|
||||||
|
|
||||||
query = <<EOF
|
query = <<EOF
|
||||||
"redis.can_connect".over${module.filter-tags.service_check}.by("redis_host","redis_port").last(6).count_by_status()
|
"redis.can_connect"${module.filter-tags.service_check}.by("redis_host","redis_port").last(6).count_by_status()
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
thresholds {
|
thresholds {
|
||||||
|
|||||||
@ -6,7 +6,7 @@ resource "datadog_monitor" "datadog_apache_process" {
|
|||||||
type = "service check"
|
type = "service check"
|
||||||
|
|
||||||
query = <<EOF
|
query = <<EOF
|
||||||
"apache.can_connect".over${module.filter-tags.service_check}.by("host","port","server").last(1).pct_by_status()
|
"apache.can_connect"${module.filter-tags.service_check}.by("host","port","server").last(1).pct_by_status()
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
thresholds = {
|
thresholds = {
|
||||||
|
|||||||
@ -6,7 +6,7 @@ resource "datadog_monitor" "datadog_nginx_process" {
|
|||||||
type = "service check"
|
type = "service check"
|
||||||
|
|
||||||
query = <<EOF
|
query = <<EOF
|
||||||
"nginx.can_connect".over${module.filter-tags.service_check}.by("server","port").last(6).count_by_status()
|
"nginx.can_connect"${module.filter-tags.service_check}.by("server","port").last(6).count_by_status()
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
thresholds = {
|
thresholds = {
|
||||||
|
|||||||
@ -6,7 +6,7 @@ resource "datadog_monitor" "php_fpm_connect" {
|
|||||||
type = "service check"
|
type = "service check"
|
||||||
|
|
||||||
query = <<EOF
|
query = <<EOF
|
||||||
"php_fpm.can_ping".over${module.filter-tags.service_check}.by("ping_url").last(6).count_by_status()
|
"php_fpm.can_ping"${module.filter-tags.service_check}.by("ping_url").last(6).count_by_status()
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
thresholds = {
|
thresholds = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user