Fix grafana notifier options
This commit is contained in:
parent
edb4381d0d
commit
39c9889a58
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue