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 = [{