BUG/MINOR: contrib/prometheus-exporter: Return the time averages in seconds

The metrics QTIME, CTIME, RTIME and TTIME are now returned in seconds using a
float representation instead of in milliseconds. So these metrics are now
consistent with their announced type and respect Prometheus naming conventions.

This patch fixes the issue #288. It may be backported to 2.0. If so, the
previous patch, introducing the support for float fields in stats is mantatory
and should be backported first.

(cherry picked from commit af4bf14183ccfac8b06a009178e2ae32cea8de4e)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed