TCP Metrics and Access Logs

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

TCP Metrics and Access Logs

Jeremy Payne
Are TCP metrics available to the ATS access logs ?
Specifically client facing metrics... connect time, rtt, first byte.
Basically the same metrics logged in the tcpinfo plugin.
I am guessing since TCP_INFO is only called by the tcpinfo plugin
that these metrics are not stored by ATS core.
If core doesnt store these metrics, then I guess I can't access
them through ATS milestones either.
So if not available through core, then what would be the easiest way
to combine tcpinfo output to the access log and to the corresponding
transaction?

Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: TCP Metrics and Access Logs

Bryan Call-2
Tcpinfo metrics are not available for logging in the access log.  You would have to use the tcpinfo plugin and can match it by using the client ip and server ip.  It would be better if tcpinfo logged the client port and server port also, but it doesn’t (patches welcome).

Depending on when you are logging (the hook) for tcpinfo there might be a 1 to 1 or 1 to many relationship between the tcpinfo logs to access logs.

-Bryan



On Oct 19, 2017, at 2:45 PM, Jeremy Payne <[hidden email]> wrote:

Are TCP metrics available to the ATS access logs ?
Specifically client facing metrics... connect time, rtt, first byte.
Basically the same metrics logged in the tcpinfo plugin.
I am guessing since TCP_INFO is only called by the tcpinfo plugin
that these metrics are not stored by ATS core.
If core doesnt store these metrics, then I guess I can't access
them through ATS milestones either.
So if not available through core, then what would be the easiest way
to combine tcpinfo output to the access log and to the corresponding
transaction?

Thanks!