mirror of
https://github.com/kmein/niveum
synced 2026-03-29 16:51:07 +02:00
feat(alertmanager): send telegram and email notifications
This commit is contained in:
@@ -176,7 +176,8 @@ in {
|
||||
receivers = [
|
||||
{
|
||||
name = "all";
|
||||
telegram_configs = [{
|
||||
telegram_configs = [
|
||||
{
|
||||
bot_token = lib.strings.fileContents <system-secrets/telegram/prometheus.token>;
|
||||
chat_id = 18980945;
|
||||
parse_mode = "";
|
||||
@@ -187,7 +188,8 @@ in {
|
||||
{{ .Status }}: {{ index .Annotations "summary" }}
|
||||
{{end -}}
|
||||
'';
|
||||
}];
|
||||
}
|
||||
];
|
||||
email_configs = let
|
||||
inherit (import <niveum/lib>) kieran;
|
||||
inherit (import <niveum/lib/email.nix> {inherit lib;}) cock;
|
||||
|
||||
Reference in New Issue
Block a user