Update from grafana notifiers to alerts
This commit is contained in:
parent
df64ae554e
commit
ea576cda8d
|
@ -33,17 +33,14 @@ in
|
||||||
# {{{ Provisoning
|
# {{{ Provisoning
|
||||||
provision = {
|
provision = {
|
||||||
enable = true;
|
enable = true;
|
||||||
notifiers = [
|
alerting.contactPoints.settings.contactPoints = [
|
||||||
|
{ name = "email"; }
|
||||||
{
|
{
|
||||||
uid = "email";
|
|
||||||
name = "email";
|
|
||||||
type = "email";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
uid = "discord";
|
|
||||||
name = "discord";
|
name = "discord";
|
||||||
type = "discord";
|
webhook_configs = [{
|
||||||
settings.webhook_url = secret "grafana_discord_webhook";
|
send_resolved = true;
|
||||||
|
url = secret "grafana_discord_webhook";
|
||||||
|
}];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue