Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 688350 - >=net-proxy/haproxy-2.0.0 - add Prometheus Exporter support
Summary: >=net-proxy/haproxy-2.0.0 - add Prometheus Exporter support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Ruppert (idl0r)
URL: https://www.haproxy.com/blog/haproxy-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-19 10:08 UTC by Christian Bricart
Modified: 2019-06-24 13:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Bricart 2019-06-19 10:08:00 UTC
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
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2019-06-24 13:04:16 UTC
Has just been added to 2.0.0. Thanks!