Uh oh!
There was an error while loading. Please reload this page.
feat(replay): Capture fetch body size for replay events - #7524
Conversation
size-limit report 📦
|
Tested this on my local Sentry and it works - though I do want to note that the sizes are slightly off from the browser which shows the size over the network (which I assume is smaller due to compression). Thoughts on the best way to inform users on the UI here since we display the "resource size" that is on the tooltip vs "transferred over the network". |
Uh oh!
There was an error while loading. Please reload this page.
mydea
commented
Mar 21, 2023
It may also differ because I guess the network tab includes header etc. data into the size, maybe? But even if not it could def. be slightly different, hard to say how exactly that is calculated..! |
9bcd880 to
45b1660Compare45b1660 to
a34ab79Compare
This adjusts the replay request body capturing to capture the fetch body size if no Content-Length header is present.