modules/nixos/monitoring/alert-rules: check comin deployments are on the same commit
This commit is contained in:
parent
a28e13e8a3
commit
7172164bbe
1 changed files with 6 additions and 0 deletions
|
@ -11,6 +11,12 @@
|
||||||
annotations.description = "status of ${name} is unknown: no data for a day";
|
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 = {
|
CominDeploymentFailing = {
|
||||||
expr = ''comin_deployment_info{status!="done"}'';
|
expr = ''comin_deployment_info{status!="done"}'';
|
||||||
for = "30m";
|
for = "30m";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue