From 826af4dfbd9bc5ca4b767763ec6f0f677170afcf Mon Sep 17 00:00:00 2001 From: Steve Simpson Date: Wed, 15 Sep 2021 14:53:34 +0200 Subject: [PATCH] Move rules to their own group. --- cortex-mixin/recording_rules.libsonnet | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cortex-mixin/recording_rules.libsonnet b/cortex-mixin/recording_rules.libsonnet index 439f44d..a438cab 100644 --- a/cortex-mixin/recording_rules.libsonnet +++ b/cortex-mixin/recording_rules.libsonnet @@ -364,6 +364,11 @@ local utils = import 'mixin-utils/utils.libsonnet'; ) |||, }, + ], + }, + { + name: 'cortex_alertmanager_rules', + rules: [ // Aggregations of per-user Alertmanager metrics used in dashboards. { record: 'cluster_job_%s:cortex_alertmanager_alerts:sum' % $._config.per_instance_label,