Commit 2ce79ef55042

Vincent Demeester <vincent@sbr.pm>
2024-11-06 20:43:36
systems/shikoku: add prometheus exporters
Next step is going to make this a module. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent cda1779
Changed files (1)
systems
systems/hosts/shikoku.nix
@@ -153,6 +153,12 @@ in
   };
   
   services = {
+    prometheus.exporters.node = {
+      enable = true;
+      port = 9000;
+      enabledCollectors = [ "systemd" "processes" ];
+      extraFlags = ["--collector.ethtool" "--collector.softirqs" "--collector.tcpstat"];
+    };
     aria2 = {
       enable = true;
       openPorts = true;