Bug 278446 - net-mgmt/geom-exporter: new port: export libgeom statistics to Prometheus
Summary: net-mgmt/geom-exporter: new port: export libgeom statistics to Prometheus
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-19 00:16 UTC by Alan Somers
Modified: 2024-05-22 20:26 UTC (History)
1 user (show)

See Also:


Attachments
add the new port (23.95 KB, patch)
2024-04-19 00:17 UTC, Alan Somers
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Somers freebsd_committer freebsd_triage 2024-04-19 00:16:13 UTC
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.
Comment 1 Alan Somers freebsd_committer freebsd_triage 2024-04-19 00:17:40 UTC
Created attachment 250072 [details]
add the new port
Comment 2 Lapo Luchini 2024-04-19 15:17:57 UTC
Niiiice! I didn't really like all the python dependencies.
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-05-22 20:26:21 UTC
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(+)