]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stats: Enhancement to stats page to provide information of last session time.
authorBhaskar Maddala <bhaskar@tumblr.com>
Mon, 3 Feb 2014 21:26:46 +0000 (16:26 -0500)
committerWilly Tarreau <w@1wt.eu>
Sat, 8 Feb 2014 00:19:58 +0000 (01:19 +0100)
commita20cb85eba3ac8249cd746cca495e8364800d0bd
tree3a37c68b4453e1fddba8d3adbefdac95bcdf5677
parent7bed945be0cc9c91cd0114a9bcb965702f9389e3
MINOR: stats: Enhancement to stats page to provide information of last session time.

Summary:
Track and report last session time on the stats page for each server
in every backend, as well as the backend.

This attempts to address the requirement in the ROADMAP

  - add a last activity date for each server (req/resp) that will be
    displayed in the stats. It will be useful with soft stop.

The stats page reports this as time elapsed since last session. This
change does not adequately address the requirement for long running
session (websocket, RDP... etc).
include/proto/backend.h
include/proto/server.h
include/types/counters.h
src/backend.c
src/dumpstats.c
src/proto_http.c
src/server.c
src/session.c