summary refs log tree commit diff
path: root/modules/foundation/monitoring/client.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/foundation/monitoring/client.nix')
-rw-r--r--modules/foundation/monitoring/client.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/foundation/monitoring/client.nix b/modules/foundation/monitoring/client.nix
index 9881f93..6c91639 100644
--- a/modules/foundation/monitoring/client.nix
+++ b/modules/foundation/monitoring/client.nix
@@ -13,6 +13,20 @@
 }:
 
 {
+  foundation.tailnetServices =
+    let
+      exporter = name: "promethes-${name}-exporter";
+    in
+    [
+      (exporter "node")
+      (exporter "nginx")
+      (exporter "nginxlog")
+      # note: it doesn't matter if the service is only enabled conditionally.
+      (exporter "dnsmasq")
+
+      "cadvisor"
+    ];
+
   services = {
     prometheus.exporters = {
       node = {