prometheus: restore half of the legacy xmpp alerter so that the alertmanager configuration builds at all
This commit is contained in:
parent
917b38a895
commit
8ea43cc31d
|
@ -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/";
|
||||
}];
|
||||
}];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue