prometheus: restore half of the legacy xmpp alerter so that the alertmanager configuration builds at all

This commit is contained in:
Astro 2022-12-17 01:17:01 +01:00
parent 917b38a895
commit 8ea43cc31d
1 changed files with 7 additions and 7 deletions

View File

@ -31,14 +31,14 @@
"group_wait" = "1m";
"group_interval" = "1m";
"repeat_interval" = "4h";
# "receiver" = "xmpp";
"receiver" = "xmpp";
};
# "receivers" = [{
# "name" = "xmpp";
# "webhook_configs" = with config.services.prometheus.xmpp-alerts.settings; [{
# "url" = "http://127.0.0.1:9022/";
# }];
# }];
"receivers" = [{
"name" = "xmpp";
"webhook_configs" = with config.services.prometheus.xmpp-alerts.settings; [{
"url" = "http://127.0.0.1:9022/";
}];
}];
};
};