diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index a514d31dc84c..4db1f6d80e0d 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -6355,6 +6355,16 @@ }]; name = "Ioannis Koutras"; }; + jonaenz = { + name = "Jona Enzinger"; + email = "5xt3zyy5l@mozmail.com"; + matrix = "@jona:matrix.jonaenz.de"; + github = "jonaenz"; + githubId = 57130301; + keys = [{ + fingerprint = "1CC5 B67C EB9A 13A5 EDF6 F10E 0B4A 3662 FC58 9202"; + }]; + }; jonafato = { email = "jon@jonafato.com"; github = "jonafato"; diff --git a/pkgs/servers/monitoring/prometheus/speedtest-exporter.nix b/pkgs/servers/monitoring/prometheus/speedtest-exporter.nix new file mode 100644 index 000000000000..04f6581338ca --- /dev/null +++ b/pkgs/servers/monitoring/prometheus/speedtest-exporter.nix @@ -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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 189e95850075..47a0ab406752 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23244,6 +23244,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 { };