nixos/prometheus-node-exporter: fix file collector
This commit is contained in:
parent
53475653a5
commit
de5205ae2d
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ in
|
|||
};
|
||||
serviceOpts = {
|
||||
serviceConfig = {
|
||||
RuntimeDirectory = "prometheus-node-exporter";
|
||||
ExecStart = ''
|
||||
${pkgs.prometheus-node-exporter}/bin/node_exporter \
|
||||
${concatMapStringsSep " " (x: "--collector." + x) cfg.enabledCollectors} \
|
||||
|
|
Loading…
Reference in a new issue