You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Jeremy Payne <jp...@gmail.com> on 2019/01/07 15:19:33 UTC

Re: TCP Metrics and Access Logs

If I remember correctly, there was some work underway to tag tcpinfo
plugin entries in way that would map those entries to specific access
log entries.
Has this been released to the community or maybe I misunderstand how
log tagging works.

Thanks!

On Mon, Oct 23, 2017 at 12:19 PM Bryan Call <bc...@apache.org> wrote:
>
> 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 <jp...@gmail.com> 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!
>
>