diff --git a/CHANGELOG.md b/CHANGELOG.md index bc5f2e63..4c6dd042 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- link AlloyForPrometheusRulesDown alert to mimir-rules ops-recipe + ### Fixed - Fix `CiliumNetworkPolicy` for `alloy`. diff --git a/helm/prometheus-rules/templates/platform/atlas/alerting-rules/mimir.rules.yml b/helm/prometheus-rules/templates/platform/atlas/alerting-rules/mimir.rules.yml index ccf50eda..41535395 100644 --- a/helm/prometheus-rules/templates/platform/atlas/alerting-rules/mimir.rules.yml +++ b/helm/prometheus-rules/templates/platform/atlas/alerting-rules/mimir.rules.yml @@ -62,7 +62,7 @@ spec: - alert: AlloyForPrometheusRulesDown annotations: description: 'Alloy sending PrometheusRules to Mimir ruler is down.' - opsrecipe: mimir/ + opsrecipe: prometheus-rules/ expr: count(up{job="alloy-rules", namespace="mimir"} == 0) by (cluster_id, installation, provider, pipeline) > 0 for: 1h labels: diff --git a/test/tests/providers/capi/capa-mimir/platform/atlas/alerting-rules/mimir.rules.test.yml b/test/tests/providers/capi/capa-mimir/platform/atlas/alerting-rules/mimir.rules.test.yml index 7c56fc71..eed18727 100644 --- a/test/tests/providers/capi/capa-mimir/platform/atlas/alerting-rules/mimir.rules.test.yml +++ b/test/tests/providers/capi/capa-mimir/platform/atlas/alerting-rules/mimir.rules.test.yml @@ -113,7 +113,7 @@ tests: topic: observability exp_annotations: description: "Alloy sending PrometheusRules to Mimir ruler is down." - opsrecipe: "mimir/" + opsrecipe: "prometheus-rules/" - interval: 1m input_series: # test: none, rate > 0, rate = 0