diff options
| author | Franck Cuny <franck@fcuny.net> | 2023-04-23 13:37:03 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2023-04-23 14:29:06 -0700 |
| commit | 251379d6084849f26866226b4bd0391216a8ccec (patch) | |
| tree | 448c3517fe994c0dca98f4e9c958ef503bfd7eff /modules/services/monitoring/node-exporter.nix | |
| parent | modules/grafana: add loki as a source to grafana (diff) | |
| download | infra-251379d6084849f26866226b4bd0391216a8ccec.tar.gz | |
modules/monitoring: consolidate all monitoring services together
This will help to organize and structure monitoring modules a bit
better.
Diffstat (limited to '')
| -rw-r--r-- | modules/services/monitoring/node-exporter.nix (renamed from modules/services/metrics-exporter/default.nix) | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/services/metrics-exporter/default.nix b/modules/services/monitoring/node-exporter.nix index c3c471c..a205bba 100644 --- a/modules/services/metrics-exporter/default.nix +++ b/modules/services/monitoring/node-exporter.nix @@ -1,10 +1,8 @@ { config, pkgs, lib, ... }: -let cfg = config.my.services.metrics-exporter; +let cfg = config.my.services.monitoring.node-exporter; in { - imports = [ ./promtail.nix ]; - - options.my.services.metrics-exporter = with lib; { + options.my.services.monitoring.node-exporter = with lib; { enable = mkEnableOption "Prometheus metrics exporter"; }; |
