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
Domain: github.com
{"@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-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:511d2ceb-0139-99bc-db6c-bc16d417e022 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E316:3CCE8:4C3292:66949D:6B008FA0 |
| html-safe-nonce | 0a61c7d78404774b7a91c99b0f0e35744a1aa6b586c371c780142f3e62509771 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzE2OjNDQ0U4OjRDMzI5Mjo2Njk0OUQ6NkIwMDhGQTAiLCJ2aXNpdG9yX2lkIjoiNDc3NjEzOTIxNDE3OTgzMTcxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0453b591c87e135ba90277d45136edb93118b87c7e644da8d6dc63c2b03e944b |
| hovercard-subject-tag | issue:2934894511 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-python/4172/issue_layout |
| twitter:image | https://opengraph.githubassets.com/16930c91afc9db5351cba2b985ea06d0fc4a52e0ae02b8fdb4ff1cda95ff3e46/getsentry/sentry-python/issues/4172 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/16930c91afc9db5351cba2b985ea06d0fc4a52e0ae02b8fdb4ff1cda95ff3e46/getsentry/sentry-python/issues/4172 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | szokeasaurusrex |
| hostname | github.com |
| expected-hostname | github.com |
| None | c710a5cb5c47be60abfe6e8410436d409906979dbed614ef09f29c60f5535b08 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 137814779 |
| octolytics-dimension-repository_nwo | getsentry/sentry-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 137814779 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | be616a2a6ec1c609d6e002896dff5352d5c5f28b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width