From cbd4e7b4bb8c1aedb43e8f89d12d04f1671a4740 Mon Sep 17 00:00:00 2001 From: servius Date: Sat, 14 Mar 2026 17:23:53 +0530 Subject: [PATCH] feat: disable prometheus for homeassistant --- nixos/tako/services/monitoring.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/nixos/tako/services/monitoring.nix b/nixos/tako/services/monitoring.nix index 6b61ee4d..df640f91 100644 --- a/nixos/tako/services/monitoring.nix +++ b/nixos/tako/services/monitoring.nix @@ -285,7 +285,7 @@ in { { targets = [ "tsuba:8096" # jellyfin (built-in /metrics endpoint) - "tsuba:8123" # homeassistant (configure prometheus integration) + # "tsuba:8123" # homeassistant (configure prometheus integration) "tsuba:9617" # pihole-exporter ]; labels = { @@ -302,12 +302,12 @@ in { target_label = "__metrics_path__"; replacement = "/metrics"; } - { - source_labels = ["__address__"]; - regex = "tsuba:8123"; - target_label = "__metrics_path__"; - replacement = "/api/prometheus"; - } + # { + # source_labels = ["__address__"]; + # regex = "tsuba:8123"; + # target_label = "__metrics_path__"; + # replacement = "/api/prometheus"; + # } ]; }