The geom-exporter exports libgeom statistics to Prometheus. It provides basically the same information as net-mgmt/gstat-exporter, but more accurately since it bypasses gstat and accesses libgeom directly.
Created attachment 250072 [details] add the new port
Niiiice! I didn't really like all the python dependencies.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3dae89d81ed53e92b56db78a4e41787f5f312934 commit 3dae89d81ed53e92b56db78a4e41787f5f312934 Author: Alan Somers <asomers@FreeBSD.org> AuthorDate: 2024-04-18 21:59:26 +0000 Commit: Alan Somers <asomers@FreeBSD.org> CommitDate: 2024-05-22 20:26:03 +0000 net-mgmt/geom-exporter: new port The geom-exporter exports libgeom statistics to Prometheus. It provides basically the same information as net-mgmt/gstat-exporter, but more accurately since it bypasses gstat and accesses libgeom directly. PR: 278446 Sponsored by: Axcient net-mgmt/Makefile | 1 + net-mgmt/geom-exporter/Makefile (new) | 34 ++++ net-mgmt/geom-exporter/Makefile.crates (new) | 101 ++++++++++ net-mgmt/geom-exporter/distinfo (new) | 205 +++++++++++++++++++++ .../geom-exporter/files/geom_exporter.in (new) | 48 +++++ net-mgmt/geom-exporter/pkg-descr (new) | 4 + 6 files changed, 393 insertions(+)
JTLUK this is currently conflicting with gstat_exporter by re-using the TCP port reserved to that, I suggested upstream to register a new port and use that as default: https://github.com/asomers/gstat-rs/issues/43