Forum Discussion
Francesco_Cripp
Nimbostratus
Nov 15, 2010iRule to log end-to-end response time
Hi, I need to create an iRule to generate a kind of access-log with response times. I need to include the end-to-end response time, including the time in which the load balancer send the response to the client.
I tried to use the enevts HTTP_REQUEST and HTTP_RESPONSE taking the timestamp of both events and it works. The shortcoming is that the HTTP_RESPONSE is triggered when the load balancer receives the response *from the server*, not when it sends the response to the client, so the time i get from theese two events is not the end-to-end time.
Does someone know a way to get that data?
Thanks
Regards
Francesco
- nitass
Employee
i came across this one. - Francesco_Cripp
Nimbostratus
Yes, I saw that article. My need is to log response time in a production environment serving real requests. I cannot add any code to the response :S - JRahm
Admin
without injecting code back to the client, there isn't a way to get true response time. The best you can hope for is the time from the request hitting the LTM to being received at the LTM on the way back from the server.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects