HAProxy stats: question on "TR"

How does “TR” gets calculated in case of keep-alive connection? is there anything special calculation…

TR is counted from the first byte of a HTTP request until the last (of the request headers). It’s not about the first byte in the connection, so keep-alive mode or not does not really change how the counter works.

Basically it will always show how much time passed for the entire request header, it is unrelated to the connection.