feat: disable prometheus for homeassistant
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m27s
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m27s
This commit is contained in:
@@ -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";
|
||||||
}
|
# }
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user