commit | 3a00e5fcc1af121dea16793d47627c16c97fb953 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Nov 27 11:22:37 2019 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Nov 27 11:27:05 2019 +0100 |
tree | 9e5def8d2747cb3c1bdb8a6a12ac629badcd34e4 | |
parent | 54948f3fd310ffc74a6c252dc11046a8a18ab230 [diff] |
BUG/MINOR: contrib/prometheus-exporter: Use HTX errors and not legacy ones This bug was introduced when the commit 32d634f1 ("MINOR: contrib/prometheus-exporter: filter exported metrics by scope") was backported to 2.0. In 2.0, Error chunks exist in raw format (http_err_chunks[]) and in HTX format (htx_err_chunks[]). Prometheus exported only supports the HTX. So error must not be reported using the raw chunks. This fix is specific to 2.0. No backport needed.