From 62614f968c9c593fda509826fe83df41aefd3f9e Mon Sep 17 00:00:00 2001 From: noe Date: Sat, 10 Feb 2024 20:38:24 -0500 Subject: [PATCH] monitoring --- nixos/hosts/monitoring/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/nixos/hosts/monitoring/default.nix b/nixos/hosts/monitoring/default.nix index 31d58ff..8729f62 100644 --- a/nixos/hosts/monitoring/default.nix +++ b/nixos/hosts/monitoring/default.nix @@ -22,6 +22,17 @@ domain = "monitoring.hoki-porgy.ts.net"; }; }; + + provision = { + enable = true; + datasources.settings.datasources = [ + { + url = "localhost:4000"; + type = "prometheus"; + name = "Prometheus"; + } + ]; + }; }; services.prometheus = {