about summary refs log tree commit diff
path: root/profiles
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-12 14:45:17 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-12 14:45:17 -0700
commit83d862a60414b18e03b24c1e5ac198bf4c5bf662 (patch)
tree9649ab7331bada6fdc7887b2baa45b0fa203f341 /profiles
parenthosts/carmel: fix proxy_pass configuration (diff)
downloadworld-83d862a60414b18e03b24c1e5ac198bf4c5bf662.tar.gz
profiles/monitoring: move node exporter to a profile
Diffstat (limited to 'profiles')
-rw-r--r--profiles/monitoring/exporter.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/profiles/monitoring/exporter.nix b/profiles/monitoring/exporter.nix
new file mode 100644
index 0000000..ded6423
--- /dev/null
+++ b/profiles/monitoring/exporter.nix
@@ -0,0 +1,7 @@
+{ ... }:
+{
+  services.prometheus.exporters.node = {
+    enable = true;
+    enabledCollectors = [ "tcpstat" "systemd" "interrupts" ];
+  };
+}