1
Fork 0

Remove grafana contact point deletion config

This commit is contained in:
prescientmoon 2024-02-24 08:32:44 +01:00
parent 7d5115d510
commit 1e744c9185
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -43,28 +43,21 @@ in
enable = true;
# https://grafana.com/docs/grafana/latest/alerting/set-up/provision-alerting-resources/file-provisioning/
alerting.contactPoints.settings = {
deleteContactPoints = [
{ uid = "main_discord"; }
{ uid = "main_email"; }
alerting.contactPoints.settings.contactPoints = [{
name = "main";
receivers = [
{
uid = "main_discord";
type = "discord";
settings.url = secret "grafana_discord_webhook";
}
{
uid = "main_email";
type = "email";
settings.addresses = "colimit@moonythm.dev";
}
];
contactPoints = [{
name = "main";
receivers = [
{
uid = "main_discord";
type = "discord";
settings.url = secret "grafana_discord_webhook";
}
{
uid = "main_email";
type = "email";
settings.addresses = "colimit@moonythm.dev";
}
];
}];
};
}];
datasources.settings.datasources = [{
name = "Prometheus";