feat: disable prometheus for homeassistant
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m27s

This commit is contained in:
2026-03-14 17:23:53 +05:30
parent a1057c5954
commit cbd4e7b4bb

View File

@@ -285,7 +285,7 @@ in {
{ {
targets = [ targets = [
"tsuba:8096" # jellyfin (built-in /metrics endpoint) "tsuba:8096" # jellyfin (built-in /metrics endpoint)
"tsuba:8123" # homeassistant (configure prometheus integration) # "tsuba:8123" # homeassistant (configure prometheus integration)
"tsuba:9617" # pihole-exporter "tsuba:9617" # pihole-exporter
]; ];
labels = { labels = {
@@ -302,12 +302,12 @@ in {
target_label = "__metrics_path__"; target_label = "__metrics_path__";
replacement = "/metrics"; replacement = "/metrics";
} }
{ # {
source_labels = ["__address__"]; # source_labels = ["__address__"];
regex = "tsuba:8123"; # regex = "tsuba:8123";
target_label = "__metrics_path__"; # target_label = "__metrics_path__";
replacement = "/api/prometheus"; # replacement = "/api/prometheus";
} # }
]; ];
} }