diff options
author | sinanmohd <sinan@sinanmohd.com> | 2025-03-17 00:31:16 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2025-03-17 00:32:02 +0530 |
commit | aacadd4b6cbe7df5113a91090c095cc0db5ea2ad (patch) | |
tree | 18ea8f6a6801ca4b5c82d2e28a2fd52d2de3374e /os/kay/modules/wireguard.nix | |
parent | cf9392703c0ce468a4eb41295c01b0b491ce4de1 (diff) |
kay/observability: init common exporters
Diffstat (limited to 'os/kay/modules/wireguard.nix')
-rw-r--r-- | os/kay/modules/wireguard.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/os/kay/modules/wireguard.nix b/os/kay/modules/wireguard.nix index 2ee41b6..a649d02 100644 --- a/os/kay/modules/wireguard.nix +++ b/os/kay/modules/wireguard.nix @@ -54,4 +54,10 @@ in { no-dhcp-interface = wgInterface; interface = [ wgInterface ]; }; + + services.prometheus.exporters.wireguard = { + enable = true; + withRemoteIp = true; + listenAddress = "127.0.0.1"; + }; } |