MON-497 The name of the service check is now Docker does not respond

This commit is contained in:
Rafael Romero Carmona 2019-08-29 13:39:50 +01:00
parent 5f2a430d45
commit 2265a9141b
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ module "datadog-monitors-caas-docker" {
Creates DataDog monitors with the following checks: Creates DataDog monitors with the following checks:
- Docker Container Memory Used (disabled by default) - Docker Container Memory Used (disabled by default)
- Service Docker does not respond - Docker does not respond
## Inputs ## Inputs

View File

@ -3,7 +3,7 @@
# #
resource "datadog_monitor" "not_responding" { resource "datadog_monitor" "not_responding" {
count = var.not_responding_enabled == "true" ? 1 : 0 count = var.not_responding_enabled == "true" ? 1 : 0
name = "${var.prefix_slug == "" ? "" : "[${var.prefix_slug}]"}[${var.environment}] Service Docker does not respond" name = "${var.prefix_slug == "" ? "" : "[${var.prefix_slug}]"}[${var.environment}] Docker does not respond"
message = coalesce(var.not_responding_message, var.message) message = coalesce(var.not_responding_message, var.message)
type = "service check" type = "service check"