Le 26/04/2019 à 10:29, Aleksandar Lazic a écrit :

THe new images are also available on docker hub.

https://hub.docker.com/r/me2digital/haproxy19
https://hub.docker.com/r/me2digital/haproxy-19-boringssl

With openssl 1.1.1b / Boringssl and prometheus-exporter.

I don't see the exporter in the output of -vv as mentioned in the blog post
https://www.haproxy.com/blog/haproxy-exposes-a-prometheus-metrics-endpoint/

The make line is this

###
+ make -C /usr/src/haproxy TARGET=linux2628 USE_PCRE=1 USE_OPENSSL=1
SSL_INC=/usr/local/openssl/include SSL_LIB=/usr/local/openssl/lib USE_ZLIB=1
USE_LINUX_SPLICE=1 USE_TFO=1 USE_PCRE_JIT=1 USE_LUA=1 USE_PTHREAD_PSHARED=1
USE_REGPARM=1 USE_GETADDRINFO=1 USE_THREAD=1
EXTRA_OBJS=contrib/prometheus-exporter/service-prometheus.o all install-bin
make: Entering directory `/usr/src/haproxy'
...
###

Hi Aleks,

The Prometheus exporter was not backported in 1.9. The compilation doesn't fail because the EXTRA_OBJS variable only exists since the version 2.0-dev1 :)

--
Christopher Faulet

Reply via email to