Discussion:
TCP Metrics and Access Logs
Jeremy Payne
2017-10-19 21:45:08 UTC
Permalink
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!
Bryan Call
2017-10-23 17:18:57 UTC
Permalink
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
Post by 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!
Loading...