René's URL Explorer Experiment


Title: ref(core): Add weight tracking logic to browser logs/metrics by AbhiPrasad · Pull Request #17901 · getsentry/sentry-javascript · GitHub

Open Graph Title: ref(core): Add weight tracking logic to browser logs/metrics by AbhiPrasad · Pull Request #17901 · getsentry/sentry-javascript

X Title: ref(core): Add weight tracking logic to browser logs/metrics by AbhiPrasad · Pull Request #17901 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: We've seen some cases where our browser logs are hitting size limits. I suspect this is because we don't have any robust size tracking mechanisms in the browser sdk. This refactors our log...

X Description: We've seen some cases where our browser logs are hitting size limits. I suspect this is because we don't have any robust size tracking mechanisms in the browser sdk. This refactors...

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/17901

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:eaef1ce0-7a83-a71d-54eb-37f3ade788ab
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD0C6:C4ED3:27FF20:356837:6B04B671
html-safe-nonce23b85ed0fd6f9b38563b555f7104f52ad7443c7bb0ccf29d00b2ef0cf0b83706
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMEM2OkM0RUQzOjI3RkYyMDozNTY4Mzc6NkIwNEI2NzEiLCJ2aXNpdG9yX2lkIjoiNjM4NDQ5MDI3NjIzNjYwNTA0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac821c2ef179221975ef3fdb30a5fefe916f2347f3ead1c8d3ca84e3edbd6e1a48
hovercard-subject-tagpull_request:2902076035
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/17901/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/071772baec27b4814dbb8099524144a9763e1e5252afb1de39cd9b3d19affba0/getsentry/sentry-javascript/pull/17901
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/071772baec27b4814dbb8099524144a9763e1e5252afb1de39cd9b3d19affba0/getsentry/sentry-javascript/pull/17901
og:image:altWe've seen some cases where our browser logs are hitting size limits. I suspect this is because we don't have any robust size tracking mechanisms in the browser sdk. This refactors our log...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAbhiPrasad
hostnamegithub.com
expected-hostnamegithub.com
None378bd702ac792b3550e484ad39d9a898fcd25bb52ba6962b0c9cc457c1ea71c7
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb032e77f1ea437ede6c115446a0a467709b468e7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/17901#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F17901
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F17901
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/17901
Reloadhttps://github.com/getsentry/sentry-javascript/pull/17901
Reloadhttps://github.com/getsentry/sentry-javascript/pull/17901
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues333 (333)https://github.com/getsentry/sentry-javascript/issues
Pull requests49 (49)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
AbhiPrasadhttps://github.com/AbhiPrasad
develophttps://github.com/getsentry/sentry-javascript/tree/develop
abhi-weight-tracking-browserhttps://github.com/getsentry/sentry-javascript/tree/abhi-weight-tracking-browser
Conversationhttps://github.com/getsentry/sentry-javascript/pull/17901
Commits4 (4)https://github.com/getsentry/sentry-javascript/pull/17901/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/17901/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/17901/files
ref(core): Add weight tracking logic to browser logs/metricshttps://github.com/getsentry/sentry-javascript/pull/17901#top
AbhiPrasadhttps://github.com/AbhiPrasad
develophttps://github.com/getsentry/sentry-javascript/tree/develop
abhi-weight-tracking-browserhttps://github.com/getsentry/sentry-javascript/tree/abhi-weight-tracking-browser
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Oct 9, 2025https://github.com/getsentry/sentry-javascript/pull/17901#issue-3500697319
https://private-user-images.githubusercontent.com/18689448/499566093-2364b984-2b53-4c6a-89e5-0a0e20fa3246.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU0NzEyNjEsIm5iZiI6MTc5NTQ3MDk2MSwicGF0aCI6Ii8xODY4OTQ0OC80OTk1NjYwOTMtMjM2NGI5ODQtMmI1My00YzZhLTg5ZTUtMGEwZTIwZmEzMjQ2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTIzVDIxNTYwMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY3ZjNhNTA3OWE4NGJiMDZlZDI5NzJkNjcxMzFlYjFlMTE0MGZhNjFkMTVjZThiNDhlMGM2OTNlNjBmNTQ2NmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.WgAzjOHwWCqS5JK0-74u0SO2jFdDn0WFOz8EMiBrdNE
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17901
https://github.com/AbhiPrasad
ref(core): Add weight tracking logic to browser logs/metricshttps://github.com/getsentry/sentry-javascript/pull/17901/commits/3d34598b14296fb53c7aa90e2cdfb03d6aadc949
3d34598https://github.com/getsentry/sentry-javascript/pull/17901/commits/3d34598b14296fb53c7aa90e2cdfb03d6aadc949
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
chargomehttps://github.com/chargome
October 9, 2025 21:35https://github.com/getsentry/sentry-javascript/pull/17901#event-20194517143
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Oct 9, 2025https://github.com/getsentry/sentry-javascript/pull/17901#event-20194517177
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
andreiborzahttps://github.com/andreiborza
October 9, 2025 21:35https://github.com/getsentry/sentry-javascript/pull/17901#event-20194517252
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 9, 2025https://github.com/getsentry/sentry-javascript/pull/17901#issuecomment-3387580477
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17901
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/18497267720
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17901
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 9, 2025https://github.com/getsentry/sentry-javascript/pull/17901#issuecomment-3387584147
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17901
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/18497267720
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17901
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
Oct 9, 2025 https://github.com/getsentry/sentry-javascript/pull/17901#pullrequestreview-3320795557
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/17901/files/3d34598b14296fb53c7aa90e2cdfb03d6aadc949
andreiborzahttps://github.com/andreiborza
https://github.com/getsentry/sentry-javascript/pull/17901#pullrequestreview-3320795557
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17901
https://github.com/chargome
chargomehttps://github.com/chargome
Oct 10, 2025 https://github.com/getsentry/sentry-javascript/pull/17901#pullrequestreview-3321730463
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/17901/files/3d34598b14296fb53c7aa90e2cdfb03d6aadc949
chargomehttps://github.com/chargome
https://github.com/getsentry/sentry-javascript/pull/17901#pullrequestreview-3321730463
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17901
https://github.com/Lms24
Lms24https://github.com/Lms24
Oct 10, 2025 https://github.com/getsentry/sentry-javascript/pull/17901#pullrequestreview-3322445142
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/17901/files/3d34598b14296fb53c7aa90e2cdfb03d6aadc949
packages/core/src/client.tshttps://github.com/getsentry/sentry-javascript/pull/17901/files/3d34598b14296fb53c7aa90e2cdfb03d6aadc949#diff-858339789c798051d9c13620bffce8ce860e7ad8ba18dba1c8711eb1f7d51a55
Lms24https://github.com/Lms24
Oct 10, 2025https://github.com/getsentry/sentry-javascript/pull/17901#discussion_r2419281777
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17901
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17901
Lms24https://github.com/Lms24
Oct 10, 2025https://github.com/getsentry/sentry-javascript/pull/17901#discussion_r2419293184
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17901
AbhiPrasadhttps://github.com/AbhiPrasad
Oct 10, 2025https://github.com/getsentry/sentry-javascript/pull/17901#discussion_r2421301476
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17901
https://github.com/AbhiPrasad
switch to closure for weight varhttps://github.com/getsentry/sentry-javascript/pull/17901/commits/7d9a886cd8948c59cbfba5a838424b88778ac2b9
7d9a886https://github.com/getsentry/sentry-javascript/pull/17901/commits/7d9a886cd8948c59cbfba5a838424b88778ac2b9
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
Oct 10, 2025 https://github.com/getsentry/sentry-javascript/pull/17901#pullrequestreview-3324931606
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/17901/files/7d9a886cd8948c59cbfba5a838424b88778ac2b9
andreiborzahttps://github.com/andreiborza
https://github.com/getsentry/sentry-javascript/pull/17901#pullrequestreview-3324931606
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17901
https://github.com/Lms24
Lms24https://github.com/Lms24
Oct 13, 2025 https://github.com/getsentry/sentry-javascript/pull/17901#pullrequestreview-3330471374
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/17901/files/7d9a886cd8948c59cbfba5a838424b88778ac2b9
Lms24https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/17901#pullrequestreview-3330471374
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17901
AbhiPrasadhttps://github.com/AbhiPrasad
October 14, 2025 10:16https://github.com/getsentry/sentry-javascript/pull/17901#commits-pushed-4514fcb
https://github.com/AbhiPrasad
Merge branch 'develop' into abhi-weight-tracking-browserhttps://github.com/getsentry/sentry-javascript/pull/17901/commits/4514fcb668b52ab54a6d6f34b0b9298f6f14f4d5
4514fcbhttps://github.com/getsentry/sentry-javascript/pull/17901/commits/4514fcb668b52ab54a6d6f34b0b9298f6f14f4d5
https://github.com/AbhiPrasad
size limithttps://github.com/getsentry/sentry-javascript/pull/17901/commits/f05911d2b981ca78309905d81d6a9afb8568afb3
f05911dhttps://github.com/getsentry/sentry-javascript/pull/17901/commits/f05911d2b981ca78309905d81d6a9afb8568afb3
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
October 14, 2025 14:29https://github.com/getsentry/sentry-javascript/pull/17901#event-20271646794
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
ac57cechttps://github.com/getsentry/sentry-javascript/commit/ac57cec5d32eea2a3ac397c185f9a3ca53545d93
Oct 14, 2025https://github.com/getsentry/sentry-javascript/pull/17901#event-20272138282
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
October 14, 2025 14:49https://github.com/getsentry/sentry-javascript/pull/17901#event-20272138637
andreiborzahttps://github.com/andreiborza
Oct 15, 2025 https://github.com/getsentry/sentry-javascript/pull/17901#ref-commit-3af15e6
https://github.com/AbhiPrasad
https://github.com/andreiborza
ref(core): Add weight tracking logic to browser logs/metrics (https://github.com/thedanchez/sentry-javascript/commit/3af15e64cc40dd4fe41eac3a85370d0301ff3c62
getsent…https://github.com/getsentry/sentry-javascript/pull/17901
3af15e6https://github.com/thedanchez/sentry-javascript/commit/3af15e64cc40dd4fe41eac3a85370d0301ff3c62
…ry#17901https://github.com/getsentry/sentry-javascript/pull/17901
https://github.com/user-attachments/assets/2364b984-2b53-4c6a-89e5-0a0e20fa3246https://github.com/user-attachments/assets/2364b984-2b53-4c6a-89e5-0a0e20fa3246
Bump @sentry/react from 8.55.0 to 10.20.0 Pouria-FOSSA/dependabot-metadata-test#71 https://github.com/Pouria-FOSSA/dependabot-metadata-test/pull/71
Bump @sentry/react from 8.55.0 to 10.21.0 Pouria-FOSSA/dependabot-metadata-test#72 https://github.com/Pouria-FOSSA/dependabot-metadata-test/pull/72
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F17901
https://github.com/Lms24
Lms24 https://github.com/Lms24
https://github.com/getsentry/sentry-javascript/pull/17901/files/7d9a886cd8948c59cbfba5a838424b88778ac2b9
https://github.com/chargome
chargome https://github.com/chargome
https://github.com/getsentry/sentry-javascript/pull/17901/files/3d34598b14296fb53c7aa90e2cdfb03d6aadc949
https://github.com/andreiborza
andreiborza https://github.com/andreiborza
https://github.com/getsentry/sentry-javascript/pull/17901/files/7d9a886cd8948c59cbfba5a838424b88778ac2b9
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17901
https://github.com/AbhiPrasad
AbhiPrasad https://github.com/AbhiPrasad
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/17901
https://github.com/AbhiPrasad
https://github.com/Lms24
https://github.com/chargome
https://github.com/andreiborza
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.