Title: Stricter span trimming logic in POTel · Issue #4103 · getsentry/sentry-python · GitHub
Open Graph Title: Stricter span trimming logic in POTel · Issue #4103 · getsentry/sentry-python
X Title: Stricter span trimming logic in POTel · Issue #4103 · getsentry/sentry-python
Description: currently, we trim to MAX_SPANS per parent, meaning the tree can still be quite huge if nodes have a lot of children we might want to change the trimming logic so that we trim more in order to lower the memory footprint of the tree map I...
Open Graph Description: currently, we trim to MAX_SPANS per parent, meaning the tree can still be quite huge if nodes have a lot of children we might want to change the trimming logic so that we trim more in order to lowe...
X Description: currently, we trim to MAX_SPANS per parent, meaning the tree can still be quite huge if nodes have a lot of children we might want to change the trimming logic so that we trim more in order to lowe...
Opengraph URL: https://github.com/getsentry/sentry-python/issues/4103
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Stricter span trimming logic in POTel","articleBody":"- currently, we [trim](https://github.com/getsentry/sentry-python/blob/9313c6915f87d46e51c0182bcedfd63f2f92bbc8/sentry_sdk/integrations/opentelemetry/span_processor.py#L166-L168) to `MAX_SPANS` per parent, meaning the tree can still be quite huge if nodes have a lot of children\n- we might want to change the trimming logic so that we trim more in order to lower the memory footprint of the tree map\n\n\nIt might also be it's ok as is; we should test and decide. Opening this issue as a reminder.","author":{"url":"https://github.com/sentrivana","@type":"Person","name":"sentrivana"},"datePublished":"2025-02-27T10:42:05Z","url":"https://github.com/getsentry/sentry-python/issues/4103"}
| 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:7d099d49-c8a3-a552-6929-e4e7efa81363 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9A32:2279A:337775:44D26C:6B009F48 |
| html-safe-nonce | 0f755096d4b147fe497513e17e31a8e5c79fd17a79ff0aa9965033af143d50f2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTMyOjIyNzlBOjMzNzc3NTo0NEQyNkM6NkIwMDlGNDgiLCJ2aXNpdG9yX2lkIjoiNDcwODEzMTg2NDQ5NjM0OTAwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 85a0d7d1c8bcc32c9b69f0bd00ed9fa608f1493394d449cf53aa15adc67c0e84 |
| hovercard-subject-tag | issue:2884124581 |
| 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/4103/issue_layout |
| twitter:image | https://opengraph.githubassets.com/df49efcc16ac59dc78bc56a8bb25f3e4cf1f69d63eac9bf69e917cccfdd20c0a/getsentry/sentry-python/issues/4103 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/df49efcc16ac59dc78bc56a8bb25f3e4cf1f69d63eac9bf69e917cccfdd20c0a/getsentry/sentry-python/issues/4103 |
| og:image:alt | currently, we trim to MAX_SPANS per parent, meaning the tree can still be quite huge if nodes have a lot of children we might want to change the trimming logic so that we trim more in order to lowe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sentrivana |
| hostname | github.com |
| expected-hostname | github.com |
| None | 52c95ce7e48016ae14399656b4ee812462b6f1fa28c5008c8394da64794c00b8 |
| 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 | 1c9ddec8215f9a94e295c8310c3579b9c54ba31a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width