From b9d52105fb00bc311d731b029949cd1bd19a08bc Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Sat, 24 Feb 2024 08:45:06 +0100 Subject: [PATCH] Grafana provision policy --- hosts/nixos/lapetus/services/grafana.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/nixos/lapetus/services/grafana.nix b/hosts/nixos/lapetus/services/grafana.nix index 0b33f9e..321b554 100644 --- a/hosts/nixos/lapetus/services/grafana.nix +++ b/hosts/nixos/lapetus/services/grafana.nix @@ -66,6 +66,10 @@ in ]; }]; + alerting.policies.settings.policies = [{ + receiver = "main"; + }]; + datasources.settings.datasources = [{ name = "Prometheus"; type = "prometheus";