]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: contrib/prometheus-exporter: Add HTX data block in one time
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 May 2019 19:56:07 +0000 (21:56 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 5 Jun 2019 08:12:11 +0000 (10:12 +0200)
commit142b5df7784181e4081a10e25bdd9161546d9594
tree4b9ebfbcc14aa1be070c74bb62ec3bb273892a0d
parenta4f9dd4a56420f547c1fa1bd6ff3e88735671ab6
BUG/MINOR: contrib/prometheus-exporter: Add HTX data block in one time

Since recent changes on the way HTX data blocks are added in an HTX message, we
must now be sure the prometheus service add its own blocks in one time. Indeed,
the function htx_add_data() may now decide to only copy a part of data. So
instead, we must call htx_add_data_atonce() instead.
contrib/prometheus-exporter/service-prometheus.c