getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
39.14k stars 4.2k forks source link

Assets/Requests/Trace View: show additional information breaking down timings of each step in request lifecycle #79975

Open bcoe opened 1 week ago

bcoe commented 1 week ago

For both the assets and requests module, along with displaying requests in the trace view, it would be valuable to know, not just the total duration of the asset loading or request completion, but the duration of different steps in the request:

Prior art

Curl allows you do do this using an approach described here.

  time_namelookup:  0.002798s
        time_connect:  0.009675s
     time_appconnect:  0.022469s
    time_pretransfer:  0.022565s
       time_redirect:  0.000000s
  time_starttransfer:  0.059998s
                     ----------
          time_total:  0.060095s

Chrome DevTools provides additional information in timing:

Image

getsantry[bot] commented 1 week ago

Routing to @getsentry/product-owners-performance for triage ⏲️