From af3d237b93dc3e23044f3c64030c52a3888c5b66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Barnouin?= Date: Fri, 18 Oct 2024 16:06:42 +0200 Subject: [PATCH] Fix config error --- services/grafana/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/services/grafana/default.nix b/services/grafana/default.nix index 5b107ca..4fdc70d 100644 --- a/services/grafana/default.nix +++ b/services/grafana/default.nix @@ -86,17 +86,23 @@ in basic_auth.password_file = "/run/secrets/grafana/kuma_token"; } { - job_name = "cadvisor"; + job_name = "grafana"; static_configs = [{ targets = [ "127.0.0.1:9002" ]; }]; } { - job_name = "grafana"; + job_name = "openmediavault_cadvisor"; static_configs = [{ targets = [ "192.168.1.125:8080" ]; }]; } + { + job_name = "openmediavault_prometheus"; + static_configs = [{ + targets = [ "192.168.1.125:9002" ]; + }]; + } { job_name = "nginx"; static_configs = [{