prometheus-script-exporter: init at 1.2.0
This commit is contained in:
parent
1e5e12d735
commit
d83bd16a2e
25
pkgs/servers/monitoring/prometheus/script-exporter.nix
Normal file
25
pkgs/servers/monitoring/prometheus/script-exporter.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "script_exporter";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "adhocteam";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "t/xgRalcHxEcT1peU1ePJUItD02rQdfz1uWpXDBo6C0=";
|
||||
};
|
||||
|
||||
vendorSha256 = "Hs1SNpC+t1OCcoF3FBgpVGkhR97ulq6zYhi8BQlgfVc=";
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) script; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Shell script prometheus exporter";
|
||||
homepage = "https://github.com/adhocteam/script_exporter";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ Flakebi ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -19701,6 +19701,7 @@ in
|
||||
prometheus-redis-exporter = callPackage ../servers/monitoring/prometheus/redis-exporter.nix { };
|
||||
prometheus-rabbitmq-exporter = callPackage ../servers/monitoring/prometheus/rabbitmq-exporter.nix { };
|
||||
prometheus-rtl_433-exporter = callPackage ../servers/monitoring/prometheus/rtl_433-exporter.nix { };
|
||||
prometheus-script-exporter = callPackage ../servers/monitoring/prometheus/script-exporter.nix { };
|
||||
prometheus-smokeping-prober = callPackage ../servers/monitoring/prometheus/smokeping-prober.nix { };
|
||||
prometheus-snmp-exporter = callPackage ../servers/monitoring/prometheus/snmp-exporter.nix { };
|
||||
prometheus-statsd-exporter = callPackage ../servers/monitoring/prometheus/statsd-exporter.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user