René's URL Explorer Experiment


Title: Python SDK Truncation Logic · Issue #4172 · getsentry/sentry-python · GitHub

Open Graph Title: Python SDK Truncation Logic · Issue #4172 · getsentry/sentry-python

X Title: Python SDK Truncation Logic · Issue #4172 · getsentry/sentry-python

Description: Implement parent issue for Python SDK What is currently being trimmed: request bodies (default: "medium", can be exempted from trimming with "always") possibility to adjust max_request_body_size should stay databags (affects local vars t...

Open Graph Description: Implement parent issue for Python SDK What is currently being trimmed: request bodies (default: "medium", can be exempted from trimming with "always") possibility to adjust max_request_body_size sh...

X Description: Implement parent issue for Python SDK What is currently being trimmed: request bodies (default: "medium", can be exempted from trimming with "always") possibility to adjust max_...

Opengraph URL: https://github.com/getsentry/sentry-python/issues/4172

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Python SDK Truncation Logic","articleBody":"Implement [parent issue](https://github.com/getsentry/projects/issues/837) for Python SDK\n\nWhat is currently being trimmed:\n- request bodies (default: `\"medium\"`, can be exempted from trimming with `\"always\"`)\n  - possibility to adjust `max_request_body_size` should stay\n- databags (affects local vars too, max breadth: 10, max_depth: 5)\n  - limit should be removed\n- max value length (trims strings, default: 100 000, (before: 1024, but we increased this because we were trimming ai messages)\n  - limit should be removed/bumped very high\n- breadcrumbs (max 100)\n  - limit should stay\n- transport queue (max 100)\n  - limit should stay\n- spans in a transaction (max 1000)\n  - limit should stay\n- some integrations have additional trimming logic (Redis: 1024 max data size)\n  - limit should be removed\n\n1. Double-check the leave/remove trimming decisions above with @cleptric and/or @adinauer's Notion doc.\n2. Test removing individual limits wrt to issue grouping in Sentry. If grouping changes, it's a breaking change.\n\n\nSee also:\n- https://github.com/getsentry/sentry-python/issues/3310\n- https://github.com/getsentry/sentry-python/pull/4630\n- https://github.com/getsentry/sentry-python/pull/4645","author":{"url":"https://github.com/szokeasaurusrex","@type":"Person","name":"szokeasaurusrex"},"datePublished":"2025-03-20T10:29:24Z","url":"https://github.com/getsentry/sentry-python/issues/4172"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:511d2ceb-0139-99bc-db6c-bc16d417e022
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE316:3CCE8:4C3292:66949D:6B008FA0
html-safe-nonce0a61c7d78404774b7a91c99b0f0e35744a1aa6b586c371c780142f3e62509771
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzE2OjNDQ0U4OjRDMzI5Mjo2Njk0OUQ6NkIwMDhGQTAiLCJ2aXNpdG9yX2lkIjoiNDc3NjEzOTIxNDE3OTgzMTcxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0453b591c87e135ba90277d45136edb93118b87c7e644da8d6dc63c2b03e944b
hovercard-subject-tagissue:2934894511
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-python/4172/issue_layout
twitter:imagehttps://opengraph.githubassets.com/16930c91afc9db5351cba2b985ea06d0fc4a52e0ae02b8fdb4ff1cda95ff3e46/getsentry/sentry-python/issues/4172
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/16930c91afc9db5351cba2b985ea06d0fc4a52e0ae02b8fdb4ff1cda95ff3e46/getsentry/sentry-python/issues/4172
og:image:altImplement parent issue for Python SDK What is currently being trimmed: request bodies (default: "medium", can be exempted from trimming with "always") possibility to adjust max_request_body_size sh...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameszokeasaurusrex
hostnamegithub.com
expected-hostnamegithub.com
Nonec710a5cb5c47be60abfe6e8410436d409906979dbed614ef09f29c60f5535b08
turbo-cache-controlno-preview
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
releasebe616a2a6ec1c609d6e002896dff5352d5c5f28b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-python/issues/4172#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fissues%2F4172
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%2Fissues%2F4172
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getsentry%2Fsentry-python
Reloadhttps://github.com/getsentry/sentry-python/issues/4172
Reloadhttps://github.com/getsentry/sentry-python/issues/4172
Reloadhttps://github.com/getsentry/sentry-python/issues/4172
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 requests41 (41)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
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-python/issues/4172
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-python/issues/4172
Python SDK Truncation Logichttps://github.com/getsentry/sentry-python/issues/4172#top
https://github.com/alexander-alderman-webb
Improvementhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Improvement%22
PythonSDKhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Python%22
https://github.com/szokeasaurusrex
szokeasaurusrexhttps://github.com/szokeasaurusrex
on Mar 20, 2025https://github.com/getsentry/sentry-python/issues/4172#issue-2934894511
parent issuehttps://github.com/getsentry/projects/issues/837
@cleptrichttps://github.com/cleptric
@adinauerhttps://github.com/adinauer
Remove event data trimming #3310https://github.com/getsentry/sentry-python/issues/3310
ref: Remove MAX_EVENT_BYTES #4630https://github.com/getsentry/sentry-python/pull/4630
[do not merge] Remove databag trimming #4645https://github.com/getsentry/sentry-python/pull/4645
sentrivanahttps://github.com/sentrivana
Taskhttps://github.com/getsentry/sentry-python/issues?q=type:"Task"
on Mar 28, 2025https://github.com/getsentry/sentry-python/issues/4172#event-17029136523
getsentry/sentry-pythonhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22getsentry%2Fsentry-python%22
on Apr 8, 2025https://github.com/getsentry/sentry-python/issues/4172#event-17179209844
stephanie-andersonhttps://github.com/stephanie-anderson
getsentry/sentry-pythonhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22getsentry%2Fsentry-python%22
on Apr 9, 2025https://github.com/getsentry/sentry-python/issues/4172#event-17187288037
stephanie-andersonhttps://github.com/stephanie-anderson
Taskhttps://github.com/getsentry/sentry-python/issues?q=type:"Task"
on Apr 25, 2025https://github.com/getsentry/sentry-python/issues/4172#event-17405318029
stephanie-andersonhttps://github.com/stephanie-anderson
PythonSDKhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Python%22
on Apr 25, 2025https://github.com/getsentry/sentry-python/issues/4172#event-17405611880
sentrivanahttps://github.com/sentrivana
on Jul 28, 2025https://github.com/getsentry/sentry-python/issues/4172#event-18852034789
sentrivanahttps://github.com/sentrivana
on Jul 30, 2025https://github.com/getsentry/sentry-python/issues/4172#event-18897099495
ref: Remove `MAX_EVENT_BYTES` (#4630)https://github.com/getsentry/sentry-python/commit/760aa90818b39e27eaced8866a8440a4213a1e72
#4630https://github.com/getsentry/sentry-python/pull/4630
760aa90https://github.com/getsentry/sentry-python/commit/760aa90818b39e27eaced8866a8440a4213a1e72
dingsdaxhttps://github.com/dingsdax
truncationhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22truncation%22
truncationhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22truncation%22
on Aug 13, 2025https://github.com/getsentry/sentry-python/issues/4172#event-19137778001
sentrivanahttps://github.com/sentrivana
Improvementhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Improvement%22
on Sep 22, 2025https://github.com/getsentry/sentry-python/issues/4172#event-19834528169
sentrivanahttps://github.com/sentrivana
on Sep 29, 2025https://github.com/getsentry/sentry-python/issues/4172#event-19978836271
dingsdaxhttps://github.com/dingsdax
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
on Oct 23, 2025https://github.com/getsentry/sentry-python/issues/4172#event-20448186098
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
on Oct 23, 2025https://github.com/getsentry/sentry-python/issues/4172#event-20451728724
Remove max_spans from LangchainIntegration #4985https://github.com/getsentry/sentry-python/issues/4985
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
on Oct 23, 2025https://github.com/getsentry/sentry-python/issues/4172#issuecomment-3436478883
sentry-python/sentry_sdk/scope.pyhttps://github.com/getsentry/sentry-python/blob/e9738f62e1d458af20d554d26cd20bb03b3e47f6/sentry_sdk/scope.py#L1644-L1652
e9738f6https://github.com/getsentry/sentry-python/commit/e9738f62e1d458af20d554d26cd20bb03b3e47f6
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
on Oct 23, 2025https://github.com/getsentry/sentry-python/issues/4172#issuecomment-3436485110
sentry-python/sentry_sdk/ai/utils.pyhttps://github.com/getsentry/sentry-python/blob/e9738f62e1d458af20d554d26cd20bb03b3e47f6/sentry_sdk/ai/utils.py#L133-L144
e9738f6https://github.com/getsentry/sentry-python/commit/e9738f62e1d458af20d554d26cd20bb03b3e47f6
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
on Oct 23, 2025https://github.com/getsentry/sentry-python/issues/4172#issuecomment-3436491491
sentry-python/sentry_sdk/profiler/transaction_profiler.pyhttps://github.com/getsentry/sentry-python/blob/e9738f62e1d458af20d554d26cd20bb03b3e47f6/sentry_sdk/profiler/transaction_profiler.py#L206
e9738f6https://github.com/getsentry/sentry-python/commit/e9738f62e1d458af20d554d26cd20bb03b3e47f6
https://github.com/cleptric
cleptrichttps://github.com/cleptric
on Oct 23, 2025https://github.com/getsentry/sentry-python/issues/4172#issuecomment-3436501579
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
on Oct 23, 2025https://github.com/getsentry/sentry-python/issues/4172#event-20452385656
Increase databag limits #4987https://github.com/getsentry/sentry-python/issues/4987
Remove max value length #4988https://github.com/getsentry/sentry-python/issues/4988
Improve stack trace truncation #4989https://github.com/getsentry/sentry-python/issues/4989
Remove span description truncation in Redis #4990https://github.com/getsentry/sentry-python/issues/4990
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
on Oct 30, 2025https://github.com/getsentry/sentry-python/issues/4172#event-20609769458
Remove event data trimming #3310https://github.com/getsentry/sentry-python/issues/3310
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
on Nov 17, 2025https://github.com/getsentry/sentry-python/issues/4172#event-20986981559
Remove event data trimming #3310https://github.com/getsentry/sentry-python/issues/3310
Improve stack trace truncation #4989https://github.com/getsentry/sentry-python/issues/4989
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
on Nov 28, 2025https://github.com/getsentry/sentry-python/issues/4172#event-21243597819
Increase databag limits #4987https://github.com/getsentry/sentry-python/issues/4987
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
on Nov 28, 2025https://github.com/getsentry/sentry-python/issues/4172#issuecomment-3589517329
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
completedhttps://github.com/getsentry/sentry-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 28, 2025https://github.com/getsentry/sentry-python/issues/4172#event-21243615379
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-python/issues/4172
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-python/issues/4172
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
Improvementhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Improvement%22
PythonSDKhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Python%22
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.