HAProxy 2.0.0 (2019-06-16)

Changes

Starting in the 2.0-dev branch, you can compile HAProxy with native Prometheus support and expose a built-in Prometheus endpoint.

The new module can be found in the HAProxy source code, under the contrib directory.

HAProxy Enterprise users can begin using this feature today as it has been backported to version 1.9r1.

Having Prometheus support built in means that you don’t need to run an extra exporter process. Enable the service in your HAProxy configuration file and you’ll be all set.

In this blog post, we’ll explain how to set up the metrics endpoint, how to configure Prometheus to scrape it, and offer some guidance on graphing the data and alerting on it.

2.0dev2