From 708ea295318365d47f6f38c34c0bedc2e917cd9c Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Tue, 3 Mar 2026 23:39:35 +0100 Subject: [PATCH] prometheus: Reword `CominDeploymentCommitMismatch` rule --- modules/nixos/services/prometheus.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/nixos/services/prometheus.nix b/modules/nixos/services/prometheus.nix index 99b4ba5..7409dea 100644 --- a/modules/nixos/services/prometheus.nix +++ b/modules/nixos/services/prometheus.nix @@ -104,12 +104,12 @@ in }; } { - alert = "CominDeploymentDifferentCommits"; + alert = "CominDeploymentCommitMismatch"; expr = "count(count by (commit_id) (comin_deployment_info)) > 1"; for = "10m"; annotations = { - summary = "Comin commit mismatch"; - description = "Two or more comin deployments are on different commits."; + summary = "Hosts are running different commits"; + description = "Not all hosts are running the same git commit, which may indicate a failed deployment and could lead to incompatible configurations."; }; } ];