Skip to content

fix(tracing): Change where content-length gets added#8139

Merged
AbhiPrasad merged 2 commits intodevelopfrom
fix/tracing-content-length
May 17, 2023
Merged

fix(tracing): Change where content-length gets added#8139
AbhiPrasad merged 2 commits intodevelopfrom
fix/tracing-content-length

Conversation

@k-fish
Copy link
Copy Markdown
Member

@k-fish k-fish commented May 16, 2023

Response content length can't be added upon span creation since the response doesn't exist yet, this should add content-length on the subsequent call to the handler after the fetch/xhr has finished.

@narsaynorath this might need test changes, if you can carry it forward 🙏

Response content length can't be added upon span creation since the response doesn't exist yet, this should add content-length on the subsequent call to the handler after the fetch/xhr has finished.
@k-fish k-fish requested review from AbhiPrasad and narsaynorath May 16, 2023 16:09
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented May 16, 2023

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.03 KB (+0.03% 🔺)
@sentry/browser - ES5 CDN Bundle (minified) 65.63 KB (+0.02% 🔺)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 19.57 KB (+0.03% 🔺)
@sentry/browser - ES6 CDN Bundle (minified) 58.09 KB (+0.02% 🔺)
@sentry/browser - Webpack (gzipped + minified) 21.17 KB (0%)
@sentry/browser - Webpack (minified) 69.04 KB (0%)
@sentry/react - Webpack (gzipped + minified) 21.19 KB (0%)
@sentry/nextjs Client - Webpack (gzipped + minified) 49.12 KB (+0.01% 🔺)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 28.66 KB (+0.05% 🔺)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 26.89 KB (+0.06% 🔺)
@sentry/replay ES6 CDN Bundle (gzipped + minified) 48.19 KB (+1.2% 🔺)
@sentry/replay - Webpack (gzipped + minified) 42.06 KB (+1.45% 🔺)
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 67.15 KB (+0.98% 🔺)
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 60.05 KB (+1.13% 🔺)

@AbhiPrasad AbhiPrasad self-assigned this May 17, 2023
@AbhiPrasad AbhiPrasad enabled auto-merge (squash) May 17, 2023 11:21
@AbhiPrasad AbhiPrasad merged commit aa5286e into develop May 17, 2023
@AbhiPrasad AbhiPrasad deleted the fix/tracing-content-length branch May 17, 2023 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants