Created attachment 226203 [details] Version 0.12.0
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?
I dunno. I just copied the skel from some other port, and my changes are less then 50% to it.
Not going to be committed or do need to provide anything else?
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)
I stand corrected, I didn't notice it became default since bug 263629. (even better)