diff options
author | Chuck <chuck@intelligence.org> | 2021-02-16 23:08:45 -0800 |
---|---|---|
committer | Chuck <chuck@intelligence.org> | 2021-02-18 09:56:45 -0800 |
commit | 83de9e2d12749ab5ed5c855dba8510a04e65ef4a (patch) | |
tree | ebaca28f07073d75aeb60bec426b6dbd2b29fc66 /pkgs/servers/monitoring/prometheus | |
parent | ff96a0fa5635770390b184ae74debea75c3fd534 (diff) | |
download | nixpkgs-83de9e2d12749ab5ed5c855dba8510a04e65ef4a.tar nixpkgs-83de9e2d12749ab5ed5c855dba8510a04e65ef4a.tar.gz nixpkgs-83de9e2d12749ab5ed5c855dba8510a04e65ef4a.tar.bz2 nixpkgs-83de9e2d12749ab5ed5c855dba8510a04e65ef4a.tar.lz nixpkgs-83de9e2d12749ab5ed5c855dba8510a04e65ef4a.tar.xz nixpkgs-83de9e2d12749ab5ed5c855dba8510a04e65ef4a.tar.zst nixpkgs-83de9e2d12749ab5ed5c855dba8510a04e65ef4a.zip |
prometheus-systemd-exporter: Init at 0.4.0
Diffstat (limited to 'pkgs/servers/monitoring/prometheus')
-rw-r--r-- | pkgs/servers/monitoring/prometheus/systemd-exporter.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/servers/monitoring/prometheus/systemd-exporter.nix b/pkgs/servers/monitoring/prometheus/systemd-exporter.nix new file mode 100644 index 00000000000..75a36236aa4 --- /dev/null +++ b/pkgs/servers/monitoring/prometheus/systemd-exporter.nix @@ -0,0 +1,23 @@ +{ lib, buildGoModule, fetchFromGittHub, }: + +buildGoModule rec { + pname = "systemd_exporter"; + version = "0.4.0"; + + vendorSha256 = "sha256-bYoB0r+d0j3esi/kK2a7/Duup9cf4M3WJjiBNs2+bj8="; + + src = fetchFromGitHub { + owner = "povilasv"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-JDfRHczFnTP9sxA7polUE9qzJhSPIiAU58GBNDYkX4c="; + }; + + meta = with lib; { + description = "Exporter for systemd unit metrics"; + homepage = "https://github.com/povilasv/systemd_exporter"; + license = licenses.asl20; + maintainers = with maintainers; [ chkno ]; + platforms = platforms.unix; + }; +} |