diff options
-rw-r--r-- | users/grfn/system/system/machines/mugwump.nix | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/users/grfn/system/system/machines/mugwump.nix b/users/grfn/system/system/machines/mugwump.nix index a8bf91caacc0..d94d06394339 100644 --- a/users/grfn/system/system/machines/mugwump.nix +++ b/users/grfn/system/system/machines/mugwump.nix @@ -210,13 +210,14 @@ with lib; }; }; - scrapeConfigs = [{ - job_name = "node"; - scrape_interval = "5s"; - static_configs = [{ - targets = [ "localhost:${toString config.services.prometheus.exporters.node.port}" ]; - }]; - } + scrapeConfigs = [ + { + job_name = "node"; + scrape_interval = "5s"; + static_configs = [{ + targets = [ "localhost:${toString config.services.prometheus.exporters.node.port}" ]; + }]; + } { job_name = "nginx"; scrape_interval = "5s"; @@ -256,7 +257,8 @@ with lib; target_label = "__address__"; replacement = "localhost:${toString config.services.prometheus.exporters.blackbox.port}"; }]; - }]; + } + ]; }; services.xanthous-server.enable = true; |