diff options
author | pennae <82953136+pennae@users.noreply.github.com> | 2022-03-09 16:12:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-09 16:12:32 +0000 |
commit | 06c57317c20943e7936d953cb10764d19c4124ff (patch) | |
tree | 91e4d67892d6ef414d1d72cc5414e78f6888de69 /nixos/modules/services | |
parent | 12d3b345c960458f62b77134b2ca1da5268277c9 (diff) | |
parent | f1bcb88bf6b075856570c433014ed123d53abdc0 (diff) | |
download | nixpkgs-06c57317c20943e7936d953cb10764d19c4124ff.tar nixpkgs-06c57317c20943e7936d953cb10764d19c4124ff.tar.gz nixpkgs-06c57317c20943e7936d953cb10764d19c4124ff.tar.bz2 nixpkgs-06c57317c20943e7936d953cb10764d19c4124ff.tar.lz nixpkgs-06c57317c20943e7936d953cb10764d19c4124ff.tar.xz nixpkgs-06c57317c20943e7936d953cb10764d19c4124ff.tar.zst nixpkgs-06c57317c20943e7936d953cb10764d19c4124ff.zip |
Merge pull request #146653 from DarkDNA/nixos/fix-systemd-exporter/extraFlags
nixos/prometheus/systemd: Implement the extraFlags config option.
Diffstat (limited to 'nixos/modules/services')
-rw-r--r-- | nixos/modules/services/monitoring/prometheus/exporters/systemd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/systemd.nix b/nixos/modules/services/monitoring/prometheus/exporters/systemd.nix index c0a50f07d71..2edd1de83e1 100644 --- a/nixos/modules/services/monitoring/prometheus/exporters/systemd.nix +++ b/nixos/modules/services/monitoring/prometheus/exporters/systemd.nix @@ -11,7 +11,7 @@ in { serviceConfig = { ExecStart = '' ${pkgs.prometheus-systemd-exporter}/bin/systemd_exporter \ - --web.listen-address ${cfg.listenAddress}:${toString cfg.port} + --web.listen-address ${cfg.listenAddress}:${toString cfg.port} ${concatStringsSep " " cfg.extraFlags} ''; RestrictAddressFamilies = [ # Need AF_UNIX to collect data |