diff options
author | Flakebi <flakebi@t-online.de> | 2021-05-18 22:23:49 +0200 |
---|---|---|
committer | Raphael Megzari <raphael@megzari.com> | 2021-06-06 08:17:25 +0900 |
commit | 5e5a3c39edfbb3022c2c8cdffd6f291471437481 (patch) | |
tree | f2b737baa40e4d928f69289ef0f292f282338979 /pkgs/servers/monitoring/prometheus | |
parent | 0d70bbcda446223255fdd0218301e71cf5b9bbdc (diff) | |
download | nixpkgs-5e5a3c39edfbb3022c2c8cdffd6f291471437481.tar nixpkgs-5e5a3c39edfbb3022c2c8cdffd6f291471437481.tar.gz nixpkgs-5e5a3c39edfbb3022c2c8cdffd6f291471437481.tar.bz2 nixpkgs-5e5a3c39edfbb3022c2c8cdffd6f291471437481.tar.lz nixpkgs-5e5a3c39edfbb3022c2c8cdffd6f291471437481.tar.xz nixpkgs-5e5a3c39edfbb3022c2c8cdffd6f291471437481.tar.zst nixpkgs-5e5a3c39edfbb3022c2c8cdffd6f291471437481.zip |
nixos/prometheus: add process exporter
Diffstat (limited to 'pkgs/servers/monitoring/prometheus')
-rw-r--r-- | pkgs/servers/monitoring/prometheus/process-exporter.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/servers/monitoring/prometheus/process-exporter.nix b/pkgs/servers/monitoring/prometheus/process-exporter.nix index 048a3ff264c..e4bfed9821b 100644 --- a/pkgs/servers/monitoring/prometheus/process-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/process-exporter.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub, nixosTests }: buildGoModule rec { pname = "process-exporter"; @@ -19,6 +19,8 @@ buildGoModule rec { doCheck = true; + passthru.tests = { inherit (nixosTests.prometheus-exporters) process; }; + meta = with lib; { description = "Prometheus exporter that mines /proc to report on selected processes"; homepage = "https://github.com/ncabatoff/process-exporter"; |