fixed mistakes

This commit is contained in:
chloe 2024-07-22 11:27:52 +02:00
parent 2d0ee569f2
commit 7e39587c9d
2 changed files with 2 additions and 1 deletions

View file

@ -15,7 +15,7 @@
job_name = "synapse"; job_name = "synapse";
scrape_interval = "15s"; scrape_interval = "15s";
metrics_path = "/_synapse/metrics"; metrics_path = "/_synapse/metrics";
static_configs = [ { targets = [ "localhost:8008" ]; } ]; static_configs = [ { targets = [ "localhost:9000" ]; } ];
} }
{ {
job_name = "homelab-stats"; job_name = "homelab-stats";

View file

@ -47,6 +47,7 @@ in
{ {
port = 9000; port = 9000;
type = "metrics"; type = "metrics";
tls = false;
bind_addresses = [ bind_addresses = [
"::1" "::1"
"0.0.0.0" "0.0.0.0"