1
Fork 0

Update from grafana notifiers to alerts

This commit is contained in:
prescientmoon 2024-02-24 07:10:49 +01:00
parent df64ae554e
commit ea576cda8d
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -33,17 +33,14 @@ in
# {{{ Provisoning
provision = {
enable = true;
notifiers = [
alerting.contactPoints.settings.contactPoints = [
{ name = "email"; }
{
uid = "email";
name = "email";
type = "email";
}
{
uid = "discord";
name = "discord";
type = "discord";
settings.webhook_url = secret "grafana_discord_webhook";
webhook_configs = [{
send_resolved = true;
url = secret "grafana_discord_webhook";
}];
}
];