Remove grafana contact point deletion config
This commit is contained in:
parent
7d5115d510
commit
1e744c9185
|
@ -43,28 +43,21 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
# https://grafana.com/docs/grafana/latest/alerting/set-up/provision-alerting-resources/file-provisioning/
|
# https://grafana.com/docs/grafana/latest/alerting/set-up/provision-alerting-resources/file-provisioning/
|
||||||
alerting.contactPoints.settings = {
|
alerting.contactPoints.settings.contactPoints = [{
|
||||||
deleteContactPoints = [
|
name = "main";
|
||||||
{ uid = "main_discord"; }
|
receivers = [
|
||||||
{ uid = "main_email"; }
|
{
|
||||||
|
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 = [{
|
datasources.settings.datasources = [{
|
||||||
name = "Prometheus";
|
name = "Prometheus";
|
||||||
|
|
Loading…
Reference in a new issue