diff options
author | Amanda Cameron <amanda@darkdna.net> | 2021-11-19 13:09:56 -0500 |
---|---|---|
committer | Amanda Cameron <amanda@darkdna.net> | 2021-11-19 13:09:56 -0500 |
commit | 4bfe837a586c8ecc1bc577207faf15c152dd1e22 (patch) | |
tree | 8a78b7ce7fda0f8e47cf9924eb996a61d50b58e4 /nixos/modules/services/monitoring/prometheus/exporters/systemd.nix | |
parent | 41aaf69b7dd245611467fa7344dd244eacd915d1 (diff) | |
download | nixpkgs-4bfe837a586c8ecc1bc577207faf15c152dd1e22.tar nixpkgs-4bfe837a586c8ecc1bc577207faf15c152dd1e22.tar.gz nixpkgs-4bfe837a586c8ecc1bc577207faf15c152dd1e22.tar.bz2 nixpkgs-4bfe837a586c8ecc1bc577207faf15c152dd1e22.tar.lz nixpkgs-4bfe837a586c8ecc1bc577207faf15c152dd1e22.tar.xz nixpkgs-4bfe837a586c8ecc1bc577207faf15c152dd1e22.tar.zst nixpkgs-4bfe837a586c8ecc1bc577207faf15c152dd1e22.zip |
nixos/prometheus/systemd: Implement the extraFlags config option.
Diffstat (limited to 'nixos/modules/services/monitoring/prometheus/exporters/systemd.nix')
-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 |