summary refs log tree commit diff
path: root/modules/monitoring
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-02-08 19:36:41 +0100
committerRory& <root@rory.gay>2025-02-08 19:44:20 +0100
commitc41f787ecf94fce14b684a42e521ad620ea80844 (patch)
treef9818c505889351cae5140ce145b382b3aadc6e2 /modules/monitoring
parentAdd laptop (diff)
downloadRory-Open-Architecture-c41f787ecf94fce14b684a42e521ad620ea80844.tar.xz
Format files
Diffstat (limited to 'modules/monitoring')
-rw-r--r--modules/monitoring/postgres.nix4
-rw-r--r--modules/monitoring/system.nix4
2 files changed, 6 insertions, 2 deletions
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}" ]; } + ]; } ];