René's URL Explorer Experiment


Title: feat(batcher): Add hard span limit by alexander-alderman-webb · Pull Request #7143 · getsentry/sentry-python · GitHub

Open Graph Title: feat(batcher): Add hard span limit by alexander-alderman-webb · Pull Request #7143 · getsentry/sentry-python

X Title: feat(batcher): Add hard span limit by alexander-alderman-webb · Pull Request #7143 · getsentry/sentry-python

Description: The official Python SDK for Sentry.io. Contribute to getsentry/sentry-python development by creating an account on GitHub.

Open Graph Description: Description Add a hard span limit after which new spans are not added to the batcher. This mirrors the per-bucket logic. This aims to keep memory use bounded at a multiple of the size of live Stre...

X Description: Description Add a hard span limit after which new spans are not added to the batcher. This mirrors the per-bucket logic. This aims to keep memory use bounded at a multiple of the size of live Stre...

Opengraph URL: https://github.com/getsentry/sentry-python/pull/7143

X: @github

direct link

Domain: github.com

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:4667f670-5d12-e718-8eac-b8ee519e2b25
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id916C:76F02:E412CA:125D4F0:6B00FC3A
html-safe-nonce669885c4196c088934e076d60cbf83956c39abec346e7176b437a50d23757e1b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTZDOjc2RjAyOkU0MTJDQToxMjVENEYwOjZCMDBGQzNBIiwidmlzaXRvcl9pZCI6Ijc5OTgzMzU3MzEwNDA4NDQ4NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1a28516d65239cbcde1db1ecf929764d68e9faff9872d72df15bd938d0f854a0
hovercard-subject-tagpull_request:4242376944
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-python/7143/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/225e322984ac6a1e7a736a6b3b8689f39e6f7784cbb415376260cd5e28bf113f/getsentry/sentry-python/pull/7143
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/225e322984ac6a1e7a736a6b3b8689f39e6f7784cbb415376260cd5e28bf113f/getsentry/sentry-python/pull/7143
og:image:altDescription Add a hard span limit after which new spans are not added to the batcher. This mirrors the per-bucket logic. This aims to keep memory use bounded at a multiple of the size of live Stre...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealexander-alderman-webb
hostnamegithub.com
expected-hostnamegithub.com
Nonee208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id137814779
octolytics-dimension-repository_nwogetsentry/sentry-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id137814779
octolytics-dimension-repository_network_root_nwogetsentry/sentry-python
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
release7dafd017fb7809a839c443dba08622af38e63c09
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-python/pull/7143#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F7143
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-python%2Fpull%2F7143
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-python
Reloadhttps://github.com/getsentry/sentry-python/pull/7143
Reloadhttps://github.com/getsentry/sentry-python/pull/7143
Reloadhttps://github.com/getsentry/sentry-python/pull/7143
getsentryhttps://github.com/getsentry
sentry-pythonhttps://github.com/getsentry/sentry-python
Codehttps://github.com/getsentry/sentry-python
Issues345 (345)https://github.com/getsentry/sentry-python/issues
Pull requests42 (42)https://github.com/getsentry/sentry-python/pulls
Discussionshttps://github.com/getsentry/sentry-python/discussions
Actionshttps://github.com/getsentry/sentry-python/actions
Security and quality2 (2)https://github.com/getsentry/sentry-python/security
Insightshttps://github.com/getsentry/sentry-python/insights
https://github.com/getsentry/sentry-python
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
masterhttps://github.com/getsentry/sentry-python/tree/master
webb/batcher/max-spans-before-drophttps://github.com/getsentry/sentry-python/tree/webb/batcher/max-spans-before-drop
Conversationhttps://github.com/getsentry/sentry-python/pull/7143
Commits5 (5)https://github.com/getsentry/sentry-python/pull/7143/commits
Checkshttps://github.com/getsentry/sentry-python/pull/7143/checks
Files changedhttps://github.com/getsentry/sentry-python/pull/7143/files
feat(batcher): Add hard span limithttps://github.com/getsentry/sentry-python/pull/7143#top
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
masterhttps://github.com/getsentry/sentry-python/tree/master
webb/batcher/max-spans-before-drophttps://github.com/getsentry/sentry-python/tree/webb/batcher/max-spans-before-drop
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
Aug 10, 2026https://github.com/getsentry/sentry-python/pull/7143#issue-5107391042
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/7143
conventional commithttps://develop.sentry.dev/engineering-practices/commit-messages/#type
CONTRIBUTING.mdhttps://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md
Sentry SDK development docshttps://develop.sentry.dev/sdk/
Discord communityhttps://discord.gg/Ww9hbqr
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/7143
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
August 10, 2026 08:37https://github.com/getsentry/sentry-python/pull/7143#commits-pushed-b429f5f
https://github.com/alexander-alderman-webb
feat(batcher): Add hard span limithttps://github.com/getsentry/sentry-python/pull/7143/commits/b429f5f23be4cb8d1122f893229d08cb1a789e8e
b429f5fhttps://github.com/getsentry/sentry-python/pull/7143/commits/b429f5f23be4cb8d1122f893229d08cb1a789e8e
https://github.com/alexander-alderman-webb
decrement span numberhttps://github.com/getsentry/sentry-python/pull/7143/commits/b30af99a7f2e4f8b1f49700a2085f89c1fed13d4
b30af99https://github.com/getsentry/sentry-python/pull/7143/commits/b30af99a7f2e4f8b1f49700a2085f89c1fed13d4
https://github.com/apps/sentry-warden
sentry-wardenhttps://github.com/apps/sentry-warden
Aug 10, 2026 https://github.com/getsentry/sentry-python/pull/7143#pullrequestreview-4894289231
View reviewed changes https://github.com/getsentry/sentry-python/pull/7143/files/b30af99a7f2e4f8b1f49700a2085f89c1fed13d4
sentry_sdk/_span_batcher.pyhttps://github.com/getsentry/sentry-python/pull/7143/files/b30af99a7f2e4f8b1f49700a2085f89c1fed13d4#diff-f400f2b5275be953a87e1a2fa25659221ab46d1f696f7d1104694c55ea621189
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/7143
https://github.com/apps/sentry-warden
sentry-wardenhttps://github.com/apps/sentry-warden
Aug 10, 2026 https://github.com/getsentry/sentry-python/pull/7143#pullrequestreview-4894292400
View reviewed changes https://github.com/getsentry/sentry-python/pull/7143/files/b30af99a7f2e4f8b1f49700a2085f89c1fed13d4
sentry_sdk/_span_batcher.pyhttps://github.com/getsentry/sentry-python/pull/7143/files/b30af99a7f2e4f8b1f49700a2085f89c1fed13d4#diff-f400f2b5275be953a87e1a2fa25659221ab46d1f696f7d1104694c55ea621189
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/7143
https://github.com/alexander-alderman-webb
add another testhttps://github.com/getsentry/sentry-python/pull/7143/commits/bde3c70ac23357fe613866480cf3886fab379e0b
bde3c70https://github.com/getsentry/sentry-python/pull/7143/commits/bde3c70ac23357fe613866480cf3886fab379e0b
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 10, 2026https://github.com/getsentry/sentry-python/pull/7143#issuecomment-5236955600
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/7143
sentry_sdk/_span_batcher.pyhttps://github.com/getsentry/sentry-python/pull/7143/files#diff-f400f2b5275be953a87e1a2fa25659221ab46d1f696f7d1104694c55ea621189
Codecov Actionhttps://github.com/getsentry/codecov-action
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/7143
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
August 10, 2026 07:11https://github.com/getsentry/sentry-python/pull/7143#event-29207430104
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
code ownerhttps://github.com/getsentry/sentry-python/blob/2b0db9fc2a06a40997ae910b3ed2bbcde5e2a4b3/.github/CODEOWNERS#L1
August 10, 2026 07:11https://github.com/getsentry/sentry-python/pull/7143#event-29207430523
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Aug 10, 2026 https://github.com/getsentry/sentry-python/pull/7143#pullrequestreview-4894432561
View reviewed changes https://github.com/getsentry/sentry-python/pull/7143/files/bde3c70ac23357fe613866480cf3886fab379e0b
sentry_sdk/_span_batcher.pyhttps://github.com/getsentry/sentry-python/pull/7143/files/bde3c70ac23357fe613866480cf3886fab379e0b#diff-f400f2b5275be953a87e1a2fa25659221ab46d1f696f7d1104694c55ea621189
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/7143
https://github.com/alexander-alderman-webb
do not index if global limit is reachedhttps://github.com/getsentry/sentry-python/pull/7143/commits/faf5684ebc7039aeaf8a2a7d208c360524c38a52
faf5684https://github.com/getsentry/sentry-python/pull/7143/commits/faf5684ebc7039aeaf8a2a7d208c360524c38a52
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Aug 10, 2026 https://github.com/getsentry/sentry-python/pull/7143#pullrequestreview-4894543677
View reviewed changes https://github.com/getsentry/sentry-python/pull/7143/files/faf5684ebc7039aeaf8a2a7d208c360524c38a52
cursorhttps://github.com/apps/cursor
https://github.com/getsentry/sentry-python/pull/7143#pullrequestreview-4894543677
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://cursor.com/open?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aTo0NzJhMTYxNy0xMGQxLTRkNjQtODI3Yi1mYmZiNjhhOWFiNTIiLCJlbmNyeXB0aW9uS2V5IjoicnJsYkhUVThjNmtIVktNTVVaMHoxOHdDMlN0RG5CMUtYc1dRYWRoQVZiWSIsImJyYW5jaCI6IndlYmIvYmF0Y2hlci9tYXgtc3BhbnMtYmVmb3JlLWRyb3AiLCJyZXBvT3duZXIiOiJnZXRzZW50cnkiLCJyZXBvTmFtZSI6InNlbnRyeS1weXRob24iLCJwcm92aWRlciI6ImdpdGh1YiJ9fQ
Cursor dashboardhttps://www.cursor.com/dashboard/bugbot
Cursor Bugbothttps://cursor.com/bugbot
faf5684https://github.com/getsentry/sentry-python/commit/faf5684ebc7039aeaf8a2a7d208c360524c38a52
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/7143
sentry_sdk/_span_batcher.pyhttps://github.com/getsentry/sentry-python/pull/7143/files/faf5684ebc7039aeaf8a2a7d208c360524c38a52#diff-f400f2b5275be953a87e1a2fa25659221ab46d1f696f7d1104694c55ea621189
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/7143
https://github.com/alexander-alderman-webb
fix off by one errorhttps://github.com/getsentry/sentry-python/pull/7143/commits/5a295fa8507c4b0494ee0cf25d984ad4894ee616
5a295fahttps://github.com/getsentry/sentry-python/pull/7143/commits/5a295fa8507c4b0494ee0cf25d984ad4894ee616
https://github.com/sentrivana
sentrivanahttps://github.com/sentrivana
Aug 10, 2026 https://github.com/getsentry/sentry-python/pull/7143#pullrequestreview-4894584559
View reviewed changes https://github.com/getsentry/sentry-python/pull/7143/files/5a295fa8507c4b0494ee0cf25d984ad4894ee616
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
58cba75https://github.com/getsentry/sentry-python/commit/58cba751e5b804fdc0105bdff1ab1dc4b4d819bc
Aug 10, 2026https://github.com/getsentry/sentry-python/pull/7143#event-29210736765
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/7143
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
August 10, 2026 08:25https://github.com/getsentry/sentry-python/pull/7143#event-29210739161
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Aug 10, 2026 https://github.com/getsentry/sentry-python/pull/7143#ref-issue-5109498312
publish: getsentry/sentry-python@2.67.0 getsentry/publish#9190 https://github.com/getsentry/publish/issues/9190
https://github.co/hiddenchars
https://github.com/getsentry/sentry-python/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-python%2Fpull%2F7143
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-python/pull/7143/files/faf5684ebc7039aeaf8a2a7d208c360524c38a52
https://github.com/apps/sentry-warden
sentry-warden[bot] https://github.com/apps/sentry-warden
https://github.com/getsentry/sentry-python/pull/7143/files/b30af99a7f2e4f8b1f49700a2085f89c1fed13d4
https://github.com/sentrivana
sentrivana https://github.com/sentrivana
https://github.com/getsentry/sentry-python/pull/7143/files/5a295fa8507c4b0494ee0cf25d984ad4894ee616
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/7143
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/7143
https://github.com/alexander-alderman-webb
https://github.com/sentrivana
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

Viewport: width=device-width


URLs of crawlers that visited me.