diff --git a/middleware/redis/monitors-redis.tf b/middleware/redis/monitors-redis.tf index 0389fea..383caa0 100644 --- a/middleware/redis/monitors-redis.tf +++ b/middleware/redis/monitors-redis.tf @@ -18,6 +18,10 @@ EOL type = "metric alert" + lifecycle { + ignore_changes = ["type"] + } + thresholds { warning = "${var.evictedkeys_change_threshold_warning}" critical = "${var.evictedkeys_change_threshold_critical}" @@ -50,6 +54,10 @@ EOL type = "metric alert" + lifecycle { + ignore_changes = ["type"] + } + thresholds { warning = "${var.expirations_rate_threshold_warning}" critical = "${var.expirations_rate_threshold_critical}" @@ -83,6 +91,10 @@ EOL type = "metric alert" + lifecycle { + ignore_changes = ["type"] + } + thresholds { warning = "${var.blocked_clients_threshold_warning}" critical = "${var.blocked_clients_threshold_critical}" @@ -115,6 +127,10 @@ EOL type = "metric alert" + lifecycle { + ignore_changes = ["type"] + } + thresholds { warning = "${var.keyspace_threshold_warning}" critical = "${var.keyspace_threshold_critical}" @@ -148,6 +164,10 @@ EOL type = "metric alert" + lifecycle { + ignore_changes = ["type"] + } + thresholds { warning = "${var.mem_used_threshold_warning}" critical = "${var.mem_used_threshold_critical}" @@ -180,6 +200,10 @@ EOL type = "metric alert" + lifecycle { + ignore_changes = ["type"] + } + thresholds { warning = "${var.mem_frag_threshold_warning}" critical = "${var.mem_frag_threshold_critical}" @@ -212,6 +236,10 @@ EOL type = "metric alert" + lifecycle { + ignore_changes = ["type"] + } + thresholds { warning = "${var.rejected_con_threshold_warning}" critical = "${var.rejected_con_threshold_critical}" @@ -244,6 +272,10 @@ EOL type = "metric alert" + lifecycle { + ignore_changes = ["type"] + } + thresholds { warning = "${var.latency_threshold_warning}" critical = "${var.latency_threshold_critical}" @@ -278,6 +310,10 @@ EOL type = "metric alert" + lifecycle { + ignore_changes = ["type"] + } + thresholds { warning = "${var.hitrate_threshold_warning}" critical = "${var.hitrate_threshold_critical}"