From ec867f6700f2e7f9470bcc5e188cbec0c403cf33 Mon Sep 17 00:00:00 2001 From: QuentinBisson Date: Mon, 27 May 2024 11:57:15 +0200 Subject: [PATCH] Fix mimir heartbeat priority --- CHANGELOG.md | 4 ++++ pkg/monitoring/heartbeat/opsgenie.go | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4dc8f59b..25b91698 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] +### Fixed + +- Fix mimir heartbeat priority. + ### Changed - Do nothing if mimir is disabled to avoid deleting prometheus-meta-operator managed resources. diff --git a/pkg/monitoring/heartbeat/opsgenie.go b/pkg/monitoring/heartbeat/opsgenie.go index 6bb96ebf..a79a9cb5 100644 --- a/pkg/monitoring/heartbeat/opsgenie.go +++ b/pkg/monitoring/heartbeat/opsgenie.go @@ -58,7 +58,7 @@ func (r OpsgenieHeartbeatRepository) makeHeartbeat() *heartbeat.Heartbeat { Name: "alerts_router_team", }, AlertTags: tags, - AlertPriority: "P1", + AlertPriority: "P3", AlertMessage: fmt.Sprintf("Heartbeat [%s] is expired.", r.ManagementCluster.Name), } }