the upstream sources of >=net-proxy/haproxy-2.0.0 provide [1] the option to add a Prometheus Endpoint to scrape statistics from. This was first announced for the 2.0-dev branch [2] and is now officially supported by the final release of haproxy 2.0 TL;DR from [3]: to have this plugin available, the argument > EXTRA_OBJS="contrib/prometheus-exporter/service-prometheus.o" just has to be added to the `make` line. From a Gentoo package maintainer's point of view, I am not sure if this would require an extra USE="prometheus" wrap within the ebuild, or may just be added unconditionally as AFAIK it does not depend on any other thing but the extra object to be linked. [1] https://www.haproxy.com/de/blog/haproxy-2-0-and-beyond/#prometheus-exporter [2] https://www.haproxy.com/blog/haproxy-exposes-a-prometheus-metrics-endpoint/ [3] https://github.com/haproxy/haproxy/tree/master/contrib/prometheus-exporter
Has just been added to 2.0.0. Thanks!