MINOR: contrib/prometheus-exporter: use fill_info for process dump
authorWilliam Dauchy <wdauchy@gmail.com>
Mon, 11 Jan 2021 19:07:49 +0000 (20:07 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Jan 2021 14:19:00 +0000 (15:19 +0100)
commit5d9b8f3c9347a1a10b86f81d70b22c3cab0e6925
treead873a145e3a8cdced58cd4157f7366579ee58bb
parent1704efee89c9a0d430e63e7a9b54e97644d27a2a
MINOR: contrib/prometheus-exporter: use fill_info for process dump

use `stats_fill_info` when possible to avoid duplicating code.

Signed-off-by: William Dauchy <wdauchy@gmail.com>
contrib/prometheus-exporter/service-prometheus.c
include/haproxy/stats.h
src/stats.c