From 59e1e7216d32390559c7a87992956f10c16f7a82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Barnouin?= Date: Thu, 5 Jun 2025 14:59:02 +0200 Subject: [PATCH] Add missing prometheus config --- services/grafana/default.nix | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/services/grafana/default.nix b/services/grafana/default.nix index 2fe5d23..d255d1b 100644 --- a/services/grafana/default.nix +++ b/services/grafana/default.nix @@ -1,7 +1,6 @@ { lib, config, - pkgs, ... }: let cfg = config.services.vm_grafana; @@ -171,6 +170,22 @@ in { } ]; } + { + job_name = "qbittorrent-vpn"; + static_configs = [ + { + targets = ["192.168.1.25:9002"]; + } + ]; + } + { + job_name = "nixarr"; + static_configs = [ + { + targets = ["192.168.1.24:9002"]; + } + ]; + } { job_name = "vaultwarden"; static_configs = [ @@ -259,6 +274,24 @@ in { } ]; } + { + job_name = "crowdsec_qbittorrent"; + metrics_path = "/metrics"; + static_configs = [ + { + targets = ["192.168.1.25:6060"]; + } + ]; + } + { + job_name = "crowdsec_nixarr"; + metrics_path = "/metrics"; + static_configs = [ + { + targets = ["192.168.1.24:6060"]; + } + ]; + } { job_name = "crowdsec_vaultwarden"; metrics_path = "/metrics";