Title: Remove 0000 trace fallback · Issue #6558 · getsentry/sentry-python · GitHub
Open Graph Title: Remove 0000 trace fallback · Issue #6558 · getsentry/sentry-python
X Title: Remove 0000 trace fallback · Issue #6558 · getsentry/sentry-python
Description: In metrics and logs, we currently have a fallback for when there is no trace ID in the current trace context. We set the trace_id since it's a required field to a dummy value. This needs to be removed as it's causing issues (the nil trac...
Open Graph Description: In metrics and logs, we currently have a fallback for when there is no trace ID in the current trace context. We set the trace_id since it's a required field to a dummy value. This needs to be remo...
X Description: In metrics and logs, we currently have a fallback for when there is no trace ID in the current trace context. We set the trace_id since it's a required field to a dummy value. This needs to be ...
Opengraph URL: https://github.com/getsentry/sentry-python/issues/6558
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove 0000 trace fallback","articleBody":"In metrics and logs, we currently have a fallback for when there is no trace ID in the current trace context. We [set](\u003chttps://github.com/getsentry/sentry-python/blob/master/sentry_sdk/scope.py#L1864>) the trace_id since it's a required field to a dummy value.\n\nThis needs to be removed as it's causing issues (the nil trace ID telemetry is getting clustered into a huge trace) and there should never be a case where there is no trace ID.\n\nWe believe we shouldn't be hitting the fallback anymore in newer SDK versions due to the recent propagation context handling refactor but we need to verify if that's the case and then remove the fallback.\n\n- [ ] find out when we hit the fallback and fix the code path so that it doesn't happen anymore\n- [ ] remove the fallback","author":{"url":"https://github.com/sentrivana","@type":"Person","name":"sentrivana"},"datePublished":"2026-06-11T12:19:06Z","url":"https://github.com/getsentry/sentry-python/issues/6558"}
| 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:3d6c56c0-9d79-f63a-ad83-f671e9b89c09 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C628:3CCE8:9F4BE:D7C52:6B007F8A |
| html-safe-nonce | 638f3259d927cd563e97d5443e392484dc3164d8f8188a3bff604a5af48efaf4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjI4OjNDQ0U4OjlGNEJFOkQ3QzUyOjZCMDA3RjhBIiwidmlzaXRvcl9pZCI6IjcyNTg3MjM4MDg0MTA4OTQyMTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 935ec4935b7ef962a198af1a46519c583a9029dedf07cb5f539a2da211eb2f3a |
| hovercard-subject-tag | issue:4640335671 |
| 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/6558/issue_layout |
| twitter:image | https://opengraph.githubassets.com/18ca9b388e2cb0f0018a0dadf1f8bba04f117189d912cbabe244e79ae847d997/getsentry/sentry-python/issues/6558 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/18ca9b388e2cb0f0018a0dadf1f8bba04f117189d912cbabe244e79ae847d997/getsentry/sentry-python/issues/6558 |
| og:image:alt | In metrics and logs, we currently have a fallback for when there is no trace ID in the current trace context. We set the trace_id since it's a required field to a dummy value. This needs to be remo... |
| 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 | 82c186f13e104004ab7bdb779f3195e59dd38bfde531aaa74b76470fc2462b83 |
| 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 | d1bc2aa1939001689f5ce935982c10a6138f745c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width