From 437dc5a2554587594eba4a9c8558a3a385b61c09 Mon Sep 17 00:00:00 2001 From: Quentin Manfroi Date: Wed, 22 Aug 2018 14:34:24 +0200 Subject: [PATCH] MON-275 update provider and redis --- README.md | 2 +- database/redis/monitors-redis.tf | 36 -------------------------------- 2 files changed, 1 insertion(+), 37 deletions(-) diff --git a/README.md b/README.md index ca132ec..9937fb7 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Before importing some modules, you must define the DataDog provider in your `mai ``` provider "datadog" { - version = "1.0.4" # if you use previous version you will have diff on monitor type + version = "1.1.0" # if you use version before 1.0.4 you will have diff on monitor type api_key = "${var.datadog_api_key}" app_key = "${var.datadog_app_key}" diff --git a/database/redis/monitors-redis.tf b/database/redis/monitors-redis.tf index a5a1339..2821fdc 100644 --- a/database/redis/monitors-redis.tf +++ b/database/redis/monitors-redis.tf @@ -10,10 +10,6 @@ EOL type = "metric alert" - lifecycle { - ignore_changes = ["type"] - } - thresholds { warning = "${var.evictedkeys_change_threshold_warning}" critical = "${var.evictedkeys_change_threshold_critical}" @@ -46,10 +42,6 @@ EOL type = "metric alert" - lifecycle { - ignore_changes = ["type"] - } - thresholds { warning = "${var.expirations_rate_threshold_warning}" critical = "${var.expirations_rate_threshold_critical}" @@ -83,10 +75,6 @@ EOL type = "metric alert" - lifecycle { - ignore_changes = ["type"] - } - thresholds { warning = "${var.blocked_clients_threshold_warning}" critical = "${var.blocked_clients_threshold_critical}" @@ -119,10 +107,6 @@ EOL type = "metric alert" - lifecycle { - ignore_changes = ["type"] - } - thresholds { warning = "${var.keyspace_threshold_warning}" critical = "${var.keyspace_threshold_critical}" @@ -156,10 +140,6 @@ EOL type = "metric alert" - lifecycle { - ignore_changes = ["type"] - } - thresholds { warning = "${var.mem_used_threshold_warning}" critical = "${var.mem_used_threshold_critical}" @@ -192,10 +172,6 @@ EOL type = "metric alert" - lifecycle { - ignore_changes = ["type"] - } - thresholds { warning = "${var.mem_frag_threshold_warning}" critical = "${var.mem_frag_threshold_critical}" @@ -228,10 +204,6 @@ EOL type = "metric alert" - lifecycle { - ignore_changes = ["type"] - } - thresholds { warning = "${var.rejected_con_threshold_warning}" critical = "${var.rejected_con_threshold_critical}" @@ -264,10 +236,6 @@ EOL type = "metric alert" - lifecycle { - ignore_changes = ["type"] - } - thresholds { warning = "${var.latency_threshold_warning}" critical = "${var.latency_threshold_critical}" @@ -302,10 +270,6 @@ EOL type = "metric alert" - lifecycle { - ignore_changes = ["type"] - } - thresholds { warning = "${var.hitrate_threshold_warning}" critical = "${var.hitrate_threshold_critical}"