forked from mirrors/nixpkgs
speedtest-exporter: init at 0.3.2
Init the Speedtest exporter for prometheus
This commit is contained in:
parent
83502555be
commit
5d3bd1377e
25
pkgs/servers/monitoring/prometheus/speedtest-exporter.nix
Normal file
25
pkgs/servers/monitoring/prometheus/speedtest-exporter.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
let
|
||||
pname = "speedtest_exporter";
|
||||
version = "0.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nlamirault";
|
||||
repo = "speedtest_exporter";
|
||||
rev = "7364db62b98ab2736405c7cde960698ab5b688bf";
|
||||
sha256 = "WIMDv63sHyZVw3Ct5LFXCIufj7sU2H81n+hT/NiPMeQ=";
|
||||
};
|
||||
|
||||
in buildGoModule rec {
|
||||
inherit pname version src;
|
||||
|
||||
vendorSha256 = "Lm73pZzdNZv7J+vKrtQXxm4HiAuB9lugKT/oanmD0HM=";
|
||||
|
||||
meta = with lib; {
|
||||
license = licenses.asl20;
|
||||
homepage = "https://github.com/nlamirault/speedtest_exporter";
|
||||
description = "Prometheus exporter for Speedtest metrics";
|
||||
maintainers = with maintainers; [ jonaenz ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -23027,6 +23027,7 @@ with pkgs;
|
|||
prometheus-smartctl-exporter = callPackage ../servers/monitoring/prometheus/smartctl-exporter { };
|
||||
prometheus-smokeping-prober = callPackage ../servers/monitoring/prometheus/smokeping-prober.nix { };
|
||||
prometheus-snmp-exporter = callPackage ../servers/monitoring/prometheus/snmp-exporter.nix { };
|
||||
prometheus-speedtest-exporter = callPackage ../servers/monitoring/prometheus/speedtest-exporter.nix { };
|
||||
prometheus-statsd-exporter = callPackage ../servers/monitoring/prometheus/statsd-exporter.nix { };
|
||||
prometheus-surfboard-exporter = callPackage ../servers/monitoring/prometheus/surfboard-exporter.nix { };
|
||||
prometheus-sql-exporter = callPackage ../servers/monitoring/prometheus/sql-exporter.nix { };
|
||||
|
|
Loading…
Reference in a new issue