thorite/monitoring: alert comin build failure
This commit is contained in:
parent
a659c3b397
commit
f4fe93ae22
1 changed files with 16 additions and 1 deletions
|
@ -59,7 +59,22 @@ in
|
|||
node.enable = true;
|
||||
};
|
||||
ruleModules =
|
||||
(mkCaddyRules [ { host = "thorite"; } ])
|
||||
[
|
||||
{
|
||||
name = "comin_rules";
|
||||
rules = [
|
||||
{
|
||||
alert = "CominBuildFailed";
|
||||
expr = "comin_build_info != 1";
|
||||
for = "1m";
|
||||
labels = {
|
||||
severity = "critical";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
]
|
||||
++ (mkCaddyRules [ { host = "thorite"; } ])
|
||||
++ (mkNodeRules [ { host = "thorite"; } ])
|
||||
++ (mkBlackboxRules [ { host = "thorite"; } ]);
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue