viola: upstream
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
bcb7f2dcb0
commit
793b14918a
34 changed files with 1320 additions and 326 deletions
27
viola/services/alertmanager.nix
Normal file
27
viola/services/alertmanager.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
_: {
|
||||
services = {
|
||||
prometheus = {
|
||||
alertmanager = {
|
||||
enable = true;
|
||||
configuration = {
|
||||
route = {
|
||||
receiver = "null";
|
||||
group_by = [
|
||||
"alertname"
|
||||
"job"
|
||||
];
|
||||
|
||||
group_wait = "30s";
|
||||
group_interval = "5m";
|
||||
repeat_interval = "12h";
|
||||
};
|
||||
receivers = [
|
||||
{
|
||||
name = "null";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue