diff options
author | Rory& <root@rory.gay> | 2024-08-28 22:20:22 +0200 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-08-28 22:20:22 +0200 |
commit | 78a17b497576272f8e0ea045a5a44ffcf5516d7d (patch) | |
tree | 6031b6935bdc0db21a7a246dd0c4bb26af719f2f /host/Rory-nginx/services | |
parent | Monitoring? (diff) | |
download | Rory-Open-Architecture-78a17b497576272f8e0ea045a5a44ffcf5516d7d.tar.xz |
Monitoring fixes
Diffstat (limited to 'host/Rory-nginx/services')
-rwxr-xr-x | host/Rory-nginx/services/postgres.nix | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/host/Rory-nginx/services/postgres.nix b/host/Rory-nginx/services/postgres.nix index 38a8ef8..c728151 100755 --- a/host/Rory-nginx/services/postgres.nix +++ b/host/Rory-nginx/services/postgres.nix @@ -80,20 +80,20 @@ }; }; - services.prometheus.exporters.postgres = { - enable = true; - port = 9187; - extraFlags = [ - "--collector.database_wraparound" - "--collector.long_running_transactions" - "--collector.postmaster" - "--collector.process_idle" - "--collector.stat_activity_autovacuum" - "--collector.stat_statements" - #"--collector.stat_wal_receiver" #we dont have WAL receivers - "--collector.statio_user_indexes" - "--collector.xlog_location" - ]; - }; +# services.prometheus.exporters.postgres = { +# enable = true; +# port = 9187; +# extraFlags = [ +# "--collector.database_wraparound" +# "--collector.long_running_transactions" +# "--collector.postmaster" +# "--collector.process_idle" +# "--collector.stat_activity_autovacuum" +# "--collector.stat_statements" +# #"--collector.stat_wal_receiver" #we dont have WAL receivers +# "--collector.statio_user_indexes" +# "--collector.xlog_location" +# ]; +# }; } |