summary refs log tree commit diff
path: root/modules/common.nix
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2024-12-21 17:50:21 +0100
committerMel <einebeere@gmail.com>2024-12-21 17:50:21 +0100
commitf42c1674aefaaa3fe155f038dd5cc83c6113d5ce (patch)
tree2c05a27c4e9131989be71373331c3fbc02a82c0a /modules/common.nix
parentbb5f031130a62825911657ec962f3c51d9ef8555 (diff)
downloadnetwork-f42c1674aefaaa3fe155f038dd5cc83c6113d5ce.tar.zst
network-f42c1674aefaaa3fe155f038dd5cc83c6113d5ce.zip
Export and scrape Docker daemon metrics
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'modules/common.nix')
-rw-r--r--modules/common.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/common.nix b/modules/common.nix
index f33e2ba..2c183ef 100644
--- a/modules/common.nix
+++ b/modules/common.nix
@@ -41,6 +41,10 @@
     docker = {
       enable = true;
       autoPrune.enable = true;
+
+      daemon.settings = {
+        metrics-addr = "${me.tailscale.ip}:9323";
+      };
     };
     oci-containers.backend = "docker";
   };