There are two potentially long lived connections, inbound and outbound (from the ATS point of view). The number of transactions on each are independent. For outbound connections (upstream, origin server) there is a logging tag, sstc, which counts the number of transactions that have occurred on that upstream connection. E.g. if ATS connects to example.com and sends three requests on that connection and gets three responses, sstc would report "3" for the last one of those (and "4" on the next one, that being the fourth transaction). Note there is no guarantee those transactions all came from the same user agent or inbound connection. There is unfortunately no matching one for inbound, which IMHO should be fixed, because the count is actually tracked, it's just not available for logging.
On Thu, Apr 19, 2018 at 1:53 PM, Dk Jack <dnj0...@gmail.com> wrote: > Alan, > Perhaps I am using the wrong term. Here’s what I mean by transaction > depth. On a long living connection, multiple requests/responses can be > exchanged. For each request received on a persistent connection the txn > depth count is incremented. > > Bhasker. > > > On Apr 19, 2018, at 11:23 AM, Alan Carroll > > <solidwallofc...@oath.com.INVALID> > wrote: > > > > "Depth"? I don't know what that means. You can use the logging tag > `sstc` - > > https://docs.trafficserver.apache.org/en/latest/admin- > guide/logging/formatting.en.html#connections-and-transactions > > - to get the number of transactions on the outbound connection. > > > >> On Thu, Apr 19, 2018 at 12:11 PM, Dk Jack <dnj0...@gmail.com> wrote: > >> > >> Hi, > >> Is it possible to get the transaction depth for an HTTP transaction? > >> Thanks. > >> > >> Dk. > >> >