modules/nixos/monitoring/alert-rules: check comin deployments are on the same commit

This commit is contained in:
zowoq 2024-04-11 11:00:01 +10:00
parent a28e13e8a3
commit 7172164bbe

View file

@ -11,6 +11,12 @@
annotations.description = "status of ${name} is unknown: no data for a day";
})) //
{
CominDeploymentDifferentCommits = {
expr = ''count(count by (commit_id) (comin_deployment_info)) > 1'';
for = "30m";
annotations.description = "One or more comin deployments are on different commits";
};
CominDeploymentFailing = {
expr = ''comin_deployment_info{status!="done"}'';
for = "30m";