diff options
Diffstat (limited to 'modules/services/metrics-exporter/default.nix')
-rw-r--r-- | modules/services/metrics-exporter/default.nix | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/modules/services/metrics-exporter/default.nix b/modules/services/metrics-exporter/default.nix deleted file mode 100644 index c3c471c..0000000 --- a/modules/services/metrics-exporter/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ config, pkgs, lib, ... }: -let cfg = config.my.services.metrics-exporter; -in -{ - imports = [ ./promtail.nix ]; - - options.my.services.metrics-exporter = with lib; { - enable = mkEnableOption "Prometheus metrics exporter"; - }; - - config = lib.mkIf cfg.enable { - services.prometheus = { - exporters = { - node = { - enable = true; - enabledCollectors = [ "tcpstat" "systemd" "interrupts" ]; - }; - }; - }; - }; -} |