From 3d55cd0060a161006983e934e6da3083faef45d9 Mon Sep 17 00:00:00 2001 From: Christian Simon Date: Thu, 13 May 2021 09:42:53 +0100 Subject: [PATCH] Add missing memberlist components to alerts This adds the admin-api, compactor and store-gateway components to the memberlist alert. Signed-off-by: Christian Simon --- CHANGELOG.md | 1 + cortex-mixin/alerts/alerts.libsonnet | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3544b2e9..248ec39d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ * `CortexIngesterReachingTenantsLimit` * [ENHANCEMENT] Improved `CortexRulerFailedRingCheck` to avoid firing in case of very short errors. #297 * [BUGFIX] Fixed `CortexCompactorRunFailed` false positives. #288 +* [BUGFIX] Add missing components (admin-api, compactor, store-gateway) to `CortexGossipMembersMismatch`. #305 ## 1.8.0 / 2021-03-25 diff --git a/cortex-mixin/alerts/alerts.libsonnet b/cortex-mixin/alerts/alerts.libsonnet index 7568b4fd..38c9d00e 100644 --- a/cortex-mixin/alerts/alerts.libsonnet +++ b/cortex-mixin/alerts/alerts.libsonnet @@ -583,7 +583,7 @@ expr: ||| memberlist_client_cluster_members_count != on (%s) group_left - sum by (%s) (up{job=~".+/(distributor|ingester.*|querier|cortex|ruler)"}) + sum by (%s) (up{job=~".+/(admin-api|compactor|store-gateway|distributor|ingester.*|querier|cortex|ruler)"}) ||| % [$._config.alert_aggregation_labels, $._config.alert_aggregation_labels], 'for': '5m', labels: {