Skip to content

Commit

Permalink
Add missing memberlist components to alerts
Browse files Browse the repository at this point in the history
This adds the admin-api, compactor and store-gateway components to the
memberlist alert.

Signed-off-by: Christian Simon <[email protected]>
  • Loading branch information
simonswine committed May 13, 2021
1 parent e51cdcf commit cb3a7b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cortex-mixin/alerts/alerts.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit cb3a7b3

Please sign in to comment.