diff --git a/database/redis/README.md b/database/redis/README.md index dd3fb7e..e7e1e23 100644 --- a/database/redis/README.md +++ b/database/redis/README.md @@ -93,14 +93,9 @@ Creates DataDog monitors with the following checks: | mem_used_timeframe | Monitor timeframe for Redis RAM memory used [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`] | string | `last_5m` | no | | message | Message sent when a Redis monitor is triggered | string | - | yes | | new_host_delay | Delay in seconds for the metric evaluation | string | `300` | no | -| not_responding_by | Group by for the service check | string | `"host","redis_host","redis_port"` | no | | not_responding_extra_tags | Extra tags for Redis does not respond monitor | string | `` | no | -| not_responding_last | Parameter 'last' for the service check | string | `6` | no | | not_responding_message | Custom message for Redis does not respond monitor | string | `` | no | | not_responding_silenced | Groups to mute for Redis does not respond monitor | map | `` | no | -| not_responding_threshold_critical | Not responding limit (critical threshold) | string | `5` | no | -| not_responding_threshold_ok | Not responding limit (ok threshold) | string | `1` | no | -| not_responding_threshold_warning | Not responding limit (warning threshold) | string | `1` | no | | redis_silenced | Groups to mute for Redis monitors | map | `` | no | | rejected_con_extra_tags | Extra tags for Redis rejected connections errors monitor | string | `` | no | | rejected_con_message | Custom message for Redis rejected connections errors monitor | string | `` | no | diff --git a/database/redis/inputs.tf b/database/redis/inputs.tf index 0b6108c..a4faa78 100644 --- a/database/redis/inputs.tf +++ b/database/redis/inputs.tf @@ -419,30 +419,3 @@ variable "not_responding_extra_tags" { type = "string" default = "" } - -variable "not_responding_by" { - description = "Group by for the service check" - type = "string" - default = "\"host\",\"redis_host\",\"redis_port\"" -} - -variable "not_responding_last" { - description = "Parameter 'last' for the service check" - type = "string" - default = 6 -} - -variable "not_responding_threshold_critical" { - description = "Not responding limit (critical threshold)" - default = 5 -} - -variable "not_responding_threshold_warning" { - description = "Not responding limit (warning threshold)" - default = 1 -} - -variable "not_responding_threshold_ok" { - description = "Not responding limit (ok threshold)" - default = 1 -} diff --git a/database/redis/monitors-redis.tf b/database/redis/monitors-redis.tf index d351ed8..7487865 100644 --- a/database/redis/monitors-redis.tf +++ b/database/redis/monitors-redis.tf @@ -333,16 +333,15 @@ resource "datadog_monitor" "not_responding" { name = "[${var.environment}] Redis does not respond" message = "${coalesce(var.not_responding_message, var.message)}" - query = <