Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4746

Send TR time in response of request

$
0
0

I am currently doing a POC on haproxy.
Haproxy gives the TR time which is time required to receive the first byte of header to last byte of header.
I want to use this TR time for my purpose.
I want haproxy to return TR time in response without going to backend server.

To send TR time in response
I am using following modification in frontend

http-after-response set-header tproxy "%TR"

But in response I am getting -1 for TR whereas if I use log-format then it prints the correct value

tproxy
	-1

How do I get the correct TR value in response of my request

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4746

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>