Title: Make sure user data is set on all spans · Issue #6201 · getsentry/sentry-python · GitHub
Open Graph Title: Make sure user data is set on all spans · Issue #6201 · getsentry/sentry-python
X Title: Make sure user data is set on all spans · Issue #6201 · getsentry/sentry-python
Description: Check that we set user.* attrs https://develop.sentry.dev/sdk/telemetry/spans/span-protocol/#common-attribute-keys on all spans if user info is available. Should be checked in all integrations that can set user data (e.g. web frameworks)...
Open Graph Description: Check that we set user.* attrs https://develop.sentry.dev/sdk/telemetry/spans/span-protocol/#common-attribute-keys on all spans if user info is available. Should be checked in all integrations that...
X Description: Check that we set user.* attrs https://develop.sentry.dev/sdk/telemetry/spans/span-protocol/#common-attribute-keys on all spans if user info is available. Should be checked in all integrations that...
Opengraph URL: https://github.com/getsentry/sentry-python/issues/6201
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make sure user data is set on all spans","articleBody":"Check that we set `user.*` attrs [https://develop.sentry.dev/sdk/telemetry/spans/span-protocol/#common-attribute-keys](\u003chttps://develop.sentry.dev/sdk/telemetry/spans/span-protocol/#common-attribute-keys>) on all spans if user info is available.\n\nShould be checked in all integrations that can set user data (e.g. web frameworks). We should verify whether setting the user on scope actually materializes that data onto spans. (It should, see [https://github.com/getsentry/sentry-python/blob/master/sentry_sdk/scope.py#L1729-L1746](\u003chttps://github.com/getsentry/sentry-python/blob/master/sentry_sdk/scope.py#L1729-L1746>))\n\nAlso, note that `user.ip_address` is usually handled differently from the rest of the user attributes as it can be known even without the user being logged in.\n\n- [X] Django (+ Django ASGI)\n- [X] Flask (in progress, see getsentry/sentry-python#6565)\n- [X] Starlette\n- [X] Litestar\n- [X] Starlite\n- [X] Tornado\n- [X] Pyramid\n- [X] Quart\n- [X] WSGI","author":{"url":"https://github.com/sentrivana","@type":"Person","name":"sentrivana"},"datePublished":"2026-05-05T10:38:20Z","url":"https://github.com/getsentry/sentry-python/issues/6201"}
| 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:a41a6b83-aee8-c40b-f568-1b1c252f9809 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9522:1A2DA6:7B20A7:A97185:6B009DA3 |
| html-safe-nonce | 273b48ad8743a1a6ddacf6c393557ba090d7bb77169051c94dd499e2c1e955aa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTIyOjFBMkRBNjo3QjIwQTc6QTk3MTg1OjZCMDA5REEzIiwidmlzaXRvcl9pZCI6IjY4MTI2NTY0NzIyMTI2NzYwMDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e108d7434ba2f27d437b7f02209caa9ff3b5cac987915e2fb0bae0fc903914be |
| hovercard-subject-tag | issue:4383389625 |
| 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/6201/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0c480121d532857d0cfae2748f442114565ecd91edfc1f3acfa13970fbc8502b/getsentry/sentry-python/issues/6201 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0c480121d532857d0cfae2748f442114565ecd91edfc1f3acfa13970fbc8502b/getsentry/sentry-python/issues/6201 |
| og:image:alt | Check that we set user.* attrs https://develop.sentry.dev/sdk/telemetry/spans/span-protocol/#common-attribute-keys on all spans if user info is available. Should be checked in all integrations that... |
| 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