MINOR: stats: add new start time field
authorWilliam Dauchy <wdauchy@gmail.com>
Fri, 15 Jan 2021 21:41:38 +0000 (22:41 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 21 Jan 2021 17:59:30 +0000 (18:59 +0100)
commitdefd15685e1a82be5353bd6a492f8a359195bc8a
tree558030a0e312029b292dbb1c3ae968813adb987e
parenta8766cfad14e57e5d4547d98232d803d8dd572bf
MINOR: stats: add new start time field

Another patch in order to try to reconciliate haproxy stats and
prometheus. Here I'm adding a proper start time field in order to make
proper use of uptime field.
That being done we can move the calculation in `fill_info`

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