]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: sample: add cpu_calls, cpu_ns_avg, cpu_ns_tot, lat_ns_avg, lat_ns_tot
authorWilly Tarreau <w@1wt.eu>
Thu, 22 Nov 2018 15:07:39 +0000 (16:07 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 22 Nov 2018 15:07:39 +0000 (16:07 +0100)
commit70fe94419c6bf425bf2e5e6317dc3f6ffb85077c
tree265afcb648c72d330358fca1e1d1dd3691acb02f
parent9efd7456e038457257b0901ebd77c4a54da2f83d
MINOR: sample: add cpu_calls, cpu_ns_avg, cpu_ns_tot, lat_ns_avg, lat_ns_tot

These sample fetch keywords report performance metrics about the task calling
them. They are useful to report in logs which requests consume too much CPU
time and what negative performane impact it has on other requests. Typically
logging cpu_ns_avg and lat_ns_avg will show culprits and victims.
doc/configuration.txt
src/sample.c