prometheus-siebenmann-zfs-exporter: init at unstable-2022-08-17

Adds the Siebenmann/cks-upstream variant of the ZFS Prometheus exporter.
This variant exposes different flags (--listen-addr, --depth, --fullpath)
and defaults to port 9700 instead of 9134.
This commit is contained in:
xiaodong.jia
2026-04-28 22:07:27 +08:00
parent 01fbdeef22
commit 33b3eddb2e
@@ -0,0 +1,28 @@
{
buildGoModule,
lib,
fetchFromGitHub,
}:
buildGoModule {
__structuredAttrs = true;
pname = "prometheus-siebenmann-zfs-exporter";
version = "unstable-2022-08-17";
src = fetchFromGitHub {
owner = "siebenmann";
repo = "zfs_exporter";
rev = "c5f18cb0d470c24dbd2c12553a87d0aca3ddc50b";
hash = "sha256-FBFjzsoRiU48616CsxkP2lVSGO3qgLYBjOrtROzhgSY=";
};
vendorHash = "sha256-YjEK/nKqoMch0UygoCkk8mAclRFhsjodFVHhN49zeW4=";
meta = {
description = "ZFS Exporter for the Prometheus monitoring system (Siebenmann/cks-upstream variant)";
mainProgram = "zfs_exporter";
homepage = "https://github.com/siebenmann/zfs_exporter";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ podocarp ];
};
}