1
Fork 0

Fix grafana notifier options

This commit is contained in:
prescientmoon 2024-02-24 06:59:53 +01:00
parent edb4381d0d
commit 39c9889a58
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -33,14 +33,17 @@ in
# {{{ Provisoning # {{{ Provisoning
provision = { provision = {
enable = true; enable = true;
notifiers = { notifiers = [
email.type = "email"; {
name = "email";
discord = { type = "email";
}
{
name = "discord";
type = "discord"; type = "discord";
settings.webhook_url = secret "grafana_discord_webhook"; settings.webhook_url = secret "grafana_discord_webhook";
}; }
}; ];
datasources.settings.datasources = [{ datasources.settings.datasources = [{
name = "Prometheus"; name = "Prometheus";