]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: counters: Add fields to store the max observed for {q,c,d,t}_time
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 8 Nov 2019 13:53:15 +0000 (14:53 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 15 Nov 2019 13:23:21 +0000 (14:23 +0100)
commitefb41f0d8d9c9faef604d6f09a595b09a441fae6
treeea9acf82e4b20015af7e4c4bde16426c64ae50d7
parentb927a9d8668208eb7a34f88e8db916262d0e698c
MINOR: counters: Add fields to store the max observed for {q,c,d,t}_time

For backends and servers, some average times for last 1024 connections are
already calculated. For the moment, the averages for the time passed in the
queue, the connect time, the response time (for HTTP session only) and the total
time are calculated. Now, in addition, the maximum time observed for these
values are also stored.

In addition, These new counters are cleared as all other max values with the CLI
command "clear counters".

This patch is related to #272.
include/types/counters.h
src/stats.c
src/stream.c