From c41f787ecf94fce14b684a42e521ad620ea80844 Mon Sep 17 00:00:00 2001 From: Rory& Date: Sat, 8 Feb 2025 19:36:41 +0100 Subject: Format files --- modules/monitoring/postgres.nix | 4 +++- modules/monitoring/system.nix | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'modules/monitoring') diff --git a/modules/monitoring/postgres.nix b/modules/monitoring/postgres.nix index 25266fa..63f536b 100644 --- a/modules/monitoring/postgres.nix +++ b/modules/monitoring/postgres.nix @@ -23,7 +23,9 @@ in { job_name = "postgres"; scrape_interval = "${toString cfg.prometheusScrapeInterval}s"; - static_configs = [ { targets = [ "localhost:${toString config.services.prometheus.exporters.postgres.port}" ]; } ]; + static_configs = [ + { targets = [ "localhost:${toString config.services.prometheus.exporters.postgres.port}" ]; } + ]; } ]; diff --git a/modules/monitoring/system.nix b/modules/monitoring/system.nix index 34f35c4..7e2634b 100644 --- a/modules/monitoring/system.nix +++ b/modules/monitoring/system.nix @@ -50,7 +50,9 @@ in { job_name = "node"; scrape_interval = "5s"; - static_configs = [ { targets = [ "localhost:${toString config.services.prometheus.exporters.node.port}" ]; } ]; + static_configs = [ + { targets = [ "localhost:${toString config.services.prometheus.exporters.node.port}" ]; } + ]; } ]; -- cgit 1.5.1