Add statistics time
Like a browser, it can count the waterfall flow and length of visits.
That is a very cool idea! We already have a HttpSession object that behaves like a browsers (i.e. keeps session, cookies etc), it should be easy to add something like that!
Trying to define the data to capture
- request path
- response status
- request size
- response size
- response time
- offset time from the session start
Trying to define the data to capture
The sky is the limit 😄
As for the timings, I'd go either with absolute timestamps (from which one can infer the duration, of course) or some kind of ticks for each individual step. Though, maybe splitting by the following actions could be a good idea
- DNS lookup (if applicable)
- Connection time for TCP (at least up until 2.0)
- SSL handshake (if applicable)
- Sending the request
- Receiving the response
The data points you mentioned, @igr, look good to me, maybe also the request method.
@OnePieceMan, what do you think?