Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from May 17, 2023

Conversation

k-fish
Copy link
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.
@github-actions
Copy link
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
31 checks passed
@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.

None yet

3 participants