summaryrefslogtreecommitdiff
path: root/os/kay/modules/postgresql.nix
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2025-03-17 00:31:16 +0530
committersinanmohd <sinan@sinanmohd.com>2025-03-17 00:32:02 +0530
commitaacadd4b6cbe7df5113a91090c095cc0db5ea2ad (patch)
tree18ea8f6a6801ca4b5c82d2e28a2fd52d2de3374e /os/kay/modules/postgresql.nix
parentcf9392703c0ce468a4eb41295c01b0b491ce4de1 (diff)
kay/observability: init common exporters
Diffstat (limited to 'os/kay/modules/postgresql.nix')
-rw-r--r--os/kay/modules/postgresql.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/os/kay/modules/postgresql.nix b/os/kay/modules/postgresql.nix
index 6f4d126..79d0b12 100644
--- a/os/kay/modules/postgresql.nix
+++ b/os/kay/modules/postgresql.nix
@@ -14,4 +14,9 @@
settings.log_timezone = config.time.timeZone;
};
+
+ services.prometheus.exporters.postgres = {
+ enable = true;
+ listenAddress = "127.0.0.1";
+ };
}