Bug 256963 - [new port] net/haproxy_exporter: Prometheus exporter for haproxy
Summary: [new port] net/haproxy_exporter: Prometheus exporter for haproxy
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Li-Wen Hsu
URL:
Keywords: easy
Depends on:
Blocks:
 
Reported: 2021-07-04 02:29 UTC by Volodymyr Kostyrko
Modified: 2024-01-30 10:08 UTC (History)
2 users (show)

See Also:


Attachments
Version 0.12.0 (5.76 KB, patch)
2021-07-04 02:29 UTC, Volodymyr Kostyrko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Volodymyr Kostyrko 2021-07-04 02:29:26 UTC
Created attachment 226203 [details]
Version 0.12.0
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2021-12-20 09:09:54 UTC
I've tested this in my poudriere and it looks good. I've removed etc/rc.d/haproxy_exporter from pkg-plist since it will be added automatically, and merged bin/haproxy_exporter to PLIST_FILES variable in Makefile. Just one question before committing: is the "Created by: Jev Björsell <ports@ecadlabs.com>
" header comment correct?
Comment 2 Volodymyr Kostyrko 2021-12-20 09:11:50 UTC
I dunno. I just copied the skel from some other port, and my changes are less then 50% to it.
Comment 3 Volodymyr Kostyrko 2022-04-30 17:58:39 UTC
Not going to be committed or do need to provide anything else?
Comment 4 Lapo Luchini 2022-05-16 15:09:12 UTC
HAProxy itself exports in Prometheus format, when compiled using this optional flag:

PROMEX=on: Enable Prometheus exporter

(I prefer to compile HAProxy myself and use a single daemon, than a separate exporter myself, but YMMV I guess)
Comment 5 Lapo Luchini 2022-05-16 15:10:25 UTC
I stand corrected, I didn't notice it became default since bug 263629.
(even better)