From d097ec013500de94aa3ce82b6e402653a52ab789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Respaut?= Date: Tue, 24 Jul 2018 14:41:16 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=98=AB=09=20MON-271:=20Ignore=20tabernacl?= =?UTF-8?q?e=20gloubi-boulga=20changes=20over=20`metric=20alert`=20vs=20`q?= =?UTF-8?q?uery=20alert`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- middleware/redis/monitors-redis.tf | 36 ++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) 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}"