about summary refs log tree commit diff
path: root/modules/services/monitoring/node-exporter.nix
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 /modules/services/monitoring/node-exporter.nix
parenthosts/carmel: fix proxy_pass configuration (diff)
downloadworld-83d862a60414b18e03b24c1e5ac198bf4c5bf662.tar.gz
profiles/monitoring: move node exporter to a profile
Diffstat (limited to 'modules/services/monitoring/node-exporter.nix')
-rw-r--r--modules/services/monitoring/node-exporter.nix19
1 files changed, 0 insertions, 19 deletions
diff --git a/modules/services/monitoring/node-exporter.nix b/modules/services/monitoring/node-exporter.nix
deleted file mode 100644
index a205bba..0000000
--- a/modules/services/monitoring/node-exporter.nix
+++ /dev/null
@@ -1,19 +0,0 @@
-{ config, pkgs, lib, ... }:
-let cfg = config.my.services.monitoring.node-exporter;
-in
-{
-  options.my.services.monitoring.node-exporter = with lib; {
-    enable = mkEnableOption "Prometheus metrics exporter";
-  };
-
-  config = lib.mkIf cfg.enable {
-    services.prometheus = {
-      exporters = {
-        node = {
-          enable = true;
-          enabledCollectors = [ "tcpstat" "systemd" "interrupts" ];
-        };
-      };
-    };
-  };
-}