mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 17:49:07 +01:00
prometheus: Reword CominDeploymentCommitMismatch rule
This commit is contained in:
parent
67d3b8ca50
commit
708ea29531
1 changed files with 3 additions and 3 deletions
|
|
@ -104,12 +104,12 @@ in
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
alert = "CominDeploymentDifferentCommits";
|
alert = "CominDeploymentCommitMismatch";
|
||||||
expr = "count(count by (commit_id) (comin_deployment_info)) > 1";
|
expr = "count(count by (commit_id) (comin_deployment_info)) > 1";
|
||||||
for = "10m";
|
for = "10m";
|
||||||
annotations = {
|
annotations = {
|
||||||
summary = "Comin commit mismatch";
|
summary = "Hosts are running different commits";
|
||||||
description = "Two or more comin deployments are on different commits.";
|
description = "Not all hosts are running the same git commit, which may indicate a failed deployment and could lead to incompatible configurations.";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue