René's URL Explorer Experiment


Title: feat(pyramid): Set user.id on spans when PII is enabled by ericapisani · Pull Request #6606 · getsentry/sentry-python · GitHub

Open Graph Title: feat(pyramid): Set user.id on spans when PII is enabled by ericapisani · Pull Request #6606 · getsentry/sentry-python

X Title: feat(pyramid): Set user.id on spans when PII is enabled by ericapisani · Pull Request #6606 · getsentry/sentry-python

Description: The official Python SDK for Sentry.io. Contribute to getsentry/sentry-python development by creating an account on GitHub.

Open Graph Description: When span streaming is enabled and send_default_pii is true, set the user.id attribute on all spans using scope.set_user using the authenticated user ID from the Pyramid request. Fixes #6605 Fixes ...

X Description: When span streaming is enabled and send_default_pii is true, set the user.id attribute on all spans using scope.set_user using the authenticated user ID from the Pyramid request. Fixes #6605 Fixes ...

Opengraph URL: https://github.com/getsentry/sentry-python/pull/6606

X: @github

direct link

Domain: github.com

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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:90323abb-c9a0-95be-80f8-11bc3094fc33
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC212:1EE4AC:6ED674:9466F4:6B00AE2A
html-safe-nonce472a065c72edf288d49d78a023f6fdd3276389b81337d65271a2ec0cede8ba0b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjEyOjFFRTRBQzo2RUQ2NzQ6OTQ2NkY0OjZCMDBBRTJBIiwidmlzaXRvcl9pZCI6IjE0NDI0NzU5NDM2NjE3MTA4OTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac07425f3a26882fa5f821f4ea946ad0cede3f7f94d890becc1c19f67567e001fc
hovercard-subject-tagpull_request:3893853397
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-python/6606/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/cf41ece161e078f3cd2d662d644558b8ed3e648e1ebf16498916beed5ccd59dc/getsentry/sentry-python/pull/6606
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cf41ece161e078f3cd2d662d644558b8ed3e648e1ebf16498916beed5ccd59dc/getsentry/sentry-python/pull/6606
og:image:altWhen span streaming is enabled and send_default_pii is true, set the user.id attribute on all spans using scope.set_user using the authenticated user ID from the Pyramid request. Fixes #6605 Fixes ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameericapisani
hostnamegithub.com
expected-hostnamegithub.com
Nonec0dd5f5d6f515a591019ecd66df2c4eab3379c2d3b0777568a90d8c7ae10b79e
turbo-cache-controlno-cache
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
release729d8cda69b3d267995675dfbf89ff27ccf61bf6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-python/pull/6606#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F6606
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%2Fpull%2F6606
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-python
Reloadhttps://github.com/getsentry/sentry-python/pull/6606
Reloadhttps://github.com/getsentry/sentry-python/pull/6606
Reloadhttps://github.com/getsentry/sentry-python/pull/6606
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 requests42 (42)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
ericapisanihttps://github.com/ericapisani
masterhttps://github.com/getsentry/sentry-python/tree/master
py-2402-set-user-id-on-segmenthttps://github.com/getsentry/sentry-python/tree/py-2402-set-user-id-on-segment
Conversationhttps://github.com/getsentry/sentry-python/pull/6606
Commits3 (3)https://github.com/getsentry/sentry-python/pull/6606/commits
Checkshttps://github.com/getsentry/sentry-python/pull/6606/checks
Files changedhttps://github.com/getsentry/sentry-python/pull/6606/files
feat(pyramid): Set user.id on spans when PII is enabledhttps://github.com/getsentry/sentry-python/pull/6606#top
ericapisanihttps://github.com/ericapisani
masterhttps://github.com/getsentry/sentry-python/tree/master
py-2402-set-user-id-on-segmenthttps://github.com/getsentry/sentry-python/tree/py-2402-set-user-id-on-segment
https://github.com/ericapisani
ericapisanihttps://github.com/ericapisani
Jun 18, 2026https://github.com/getsentry/sentry-python/pull/6606#issue-4695282610
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/6606
#6605https://github.com/getsentry/sentry-python/issues/6605
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/6606
https://github.com/ericapisani
feat(pyramid): Set user.id on segment span when PII is enabledhttps://github.com/getsentry/sentry-python/pull/6606/commits/3fc887547032b89decc2cfb6abd8b20b158bfcca
3fc8875https://github.com/getsentry/sentry-python/pull/6606/commits/3fc887547032b89decc2cfb6abd8b20b158bfcca
#6605https://github.com/getsentry/sentry-python/issues/6605
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
Jun 18, 2026https://github.com/getsentry/sentry-python/pull/6606#issuecomment-4745323192
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/6606
PY-2402https://linear.app/getsentry/issue/PY-2402
PY-2542https://linear.app/getsentry/issue/PY-2542
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/6606
https://github.com/ericapisani
ericapisanihttps://github.com/ericapisani
skip-changelog https://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3Askip-changelog
Jun 18, 2026https://github.com/getsentry/sentry-python/pull/6606#event-26927449563
https://github.com/ericapisani
ericapisanihttps://github.com/ericapisani
June 18, 2026 19:12https://github.com/getsentry/sentry-python/pull/6606#event-26927450851
https://github.com/ericapisani
ericapisanihttps://github.com/ericapisani
code ownerhttps://github.com/getsentry/sentry-python/blob/907dd48f1a118d75ddb2f2178e879bdc5fa71283/.github/CODEOWNERS#L1
June 18, 2026 19:12https://github.com/getsentry/sentry-python/pull/6606#event-26927451230
https://github.com/ericapisani
ericapisanihttps://github.com/ericapisani
June 18, 2026 19:15https://github.com/getsentry/sentry-python/pull/6606#event-26927543434
https://github.com/apps/sentry
sentryhttps://github.com/apps/sentry
Jun 18, 2026 https://github.com/getsentry/sentry-python/pull/6606#pullrequestreview-4527872224
View reviewed changes https://github.com/getsentry/sentry-python/pull/6606/files/3fc887547032b89decc2cfb6abd8b20b158bfcca
sentry_sdk/integrations/pyramid.pyhttps://github.com/getsentry/sentry-python/pull/6606/files/3fc887547032b89decc2cfb6abd8b20b158bfcca#diff-bea9b82aea7656f0f994112d3fd544a905b23c3a2b2d02cf8d90a32e7bdea19c
sentryhttps://github.com/apps/sentry
Jun 18, 2026https://github.com/getsentry/sentry-python/pull/6606#discussion_r3438336196
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/6606
https://github.com/ericapisani
use set_user on the scope instead of adding it via the segment attrib…https://github.com/getsentry/sentry-python/pull/6606/commits/91a9403df452673bf8b86c8833b418723f022719
91a9403https://github.com/getsentry/sentry-python/pull/6606/commits/91a9403df452673bf8b86c8833b418723f022719
https://github.com/ericapisani
ericapisanihttps://github.com/ericapisani
June 18, 2026 19:20https://github.com/getsentry/sentry-python/pull/6606#event-26927736986
https://github.com/ericapisani
ericapisanihttps://github.com/ericapisani
Jun 18, 2026https://github.com/getsentry/sentry-python/pull/6606#event-26927745663
https://github.com/ericapisani
linthttps://github.com/getsentry/sentry-python/pull/6606/commits/cad10e8703b510639157c918d51c28f660ecfd0e
cad10e8https://github.com/getsentry/sentry-python/pull/6606/commits/cad10e8703b510639157c918d51c28f660ecfd0e
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Jun 18, 2026 https://github.com/getsentry/sentry-python/pull/6606#pullrequestreview-4527927082
View reviewed changes https://github.com/getsentry/sentry-python/pull/6606/files/cad10e8703b510639157c918d51c28f660ecfd0e
cursorhttps://github.com/apps/cursor
https://github.com/getsentry/sentry-python/pull/6606#pullrequestreview-4527927082
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://cursor.com/open?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aTo5MDRiYWZjNS02MWIyLTRiOTktOWE3MC1mY2FhZmE0OThmNDkiLCJlbmNyeXB0aW9uS2V5IjoiQTBnck5HcE9HMHhtNnB4eWNrbU1za2VxOW4wRElkbUJpM2F5UGlHeFNmRSIsImJyYW5jaCI6InB5LTI0MDItc2V0LXVzZXItaWQtb24tc2VnbWVudCIsInJlcG9Pd25lciI6ImdldHNlbnRyeSIsInJlcG9OYW1lIjoic2VudHJ5LXB5dGhvbiJ9fQ
Cursor dashboardhttps://www.cursor.com/dashboard/bugbot
Cursor Bugbothttps://cursor.com/bugbot
cad10e8https://github.com/getsentry/sentry-python/commit/cad10e8703b510639157c918d51c28f660ecfd0e
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/6606
sentry_sdk/integrations/pyramid.pyhttps://github.com/getsentry/sentry-python/pull/6606/files/cad10e8703b510639157c918d51c28f660ecfd0e#diff-bea9b82aea7656f0f994112d3fd544a905b23c3a2b2d02cf8d90a32e7bdea19c
cursorhttps://github.com/apps/cursor
Jun 18, 2026https://github.com/getsentry/sentry-python/pull/6606#discussion_r3438380508
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://cursor.com/open?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9DVVJTT1IiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OjY3MjEwYWI5LTMzNmUtNGE4OS1iNjdiLWIyM2IwMmM4MDZlMSIsImVuY3J5cHRpb25LZXkiOiJjVEpiUVB4VGd6R1pMbXp5UjZwVUkyQ05tS3dfRi1RVC1oWk1GZVJnNE5vIiwiYnJhbmNoIjoicHktMjQwMi1zZXQtdXNlci1pZC1vbi1zZWdtZW50IiwicmVwb093bmVyIjoiZ2V0c2VudHJ5IiwicmVwb05hbWUiOiJzZW50cnktcHl0aG9uIn19
https://cursor.com/agents?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9XRUIiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OjY3MjEwYWI5LTMzNmUtNGE4OS1iNjdiLWIyM2IwMmM4MDZlMSIsImVuY3J5cHRpb25LZXkiOiJjVEpiUVB4VGd6R1pMbXp5UjZwVUkyQ05tS3dfRi1RVC1oWk1GZVJnNE5vIiwiYnJhbmNoIjoicHktMjQwMi1zZXQtdXNlci1pZC1vbi1zZWdtZW50IiwicmVwb093bmVyIjoiZ2V0c2VudHJ5IiwicmVwb05hbWUiOiJzZW50cnktcHl0aG9uIiwicHJOdW1iZXIiOjY2MDYsImNvbW1pdFNoYSI6ImNhZDEwZTg3MDNiNTEwNjM5MTU3YzkxOGQ1MWMyOGY2NjBlY2ZkMGUiLCJwcm92aWRlciI6ImdpdGh1YiJ9fQ
Cursor Bugbothttps://cursor.com/bugbot
cad10e8https://github.com/getsentry/sentry-python/commit/cad10e8703b510639157c918d51c28f660ecfd0e
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/6606
https://github.com/apps/sentry
sentryhttps://github.com/apps/sentry
Jun 18, 2026 https://github.com/getsentry/sentry-python/pull/6606#pullrequestreview-4527932644
View reviewed changes https://github.com/getsentry/sentry-python/pull/6606/files/cad10e8703b510639157c918d51c28f660ecfd0e
sentry_sdk/integrations/pyramid.pyhttps://github.com/getsentry/sentry-python/pull/6606/files/cad10e8703b510639157c918d51c28f660ecfd0e#diff-bea9b82aea7656f0f994112d3fd544a905b23c3a2b2d02cf8d90a32e7bdea19c
sentryhttps://github.com/apps/sentry
Jun 18, 2026https://github.com/getsentry/sentry-python/pull/6606#discussion_r3438384874
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/6606
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 18, 2026https://github.com/getsentry/sentry-python/pull/6606#issuecomment-4745501423
sentry_sdk/integrations/pyramid.pyhttps://github.com/getsentry/sentry-python/pull/6606/files#diff-bea9b82aea7656f0f994112d3fd544a905b23c3a2b2d02cf8d90a32e7bdea19c
Codecov Actionhttps://github.com/getsentry/codecov-action
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/6606
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
Jun 19, 2026 https://github.com/getsentry/sentry-python/pull/6606#pullrequestreview-4532354944
View reviewed changes https://github.com/getsentry/sentry-python/pull/6606/files/cad10e8703b510639157c918d51c28f660ecfd0e
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
https://github.com/getsentry/sentry-python/pull/6606#pullrequestreview-4532354944
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/6606
https://github.com/ericapisani
ericapisanihttps://github.com/ericapisani
883e585https://github.com/getsentry/sentry-python/commit/883e585baf564ff650e2292b70262aef852adec0
Jun 19, 2026https://github.com/getsentry/sentry-python/pull/6606#event-26954627200
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/6606
https://github.com/ericapisani
ericapisanihttps://github.com/ericapisani
June 19, 2026 11:20https://github.com/getsentry/sentry-python/pull/6606#event-26954628160
mgalignianahttps://github.com/mgaligniana
Aug 9, 2026 https://github.com/getsentry/sentry-python/pull/6606#ref-commit-a979141
https://github.com/ericapisani
https://github.com/mgaligniana
feat(pyramid): Set user.id on spans when PII is enabled (https://github.com/mgaligniana/sentry-python/commit/a97914173b730c718ee7703e8f1128335b6e60ed
getsentry#6606https://github.com/getsentry/sentry-python/pull/6606
)https://github.com/mgaligniana/sentry-python/commit/a97914173b730c718ee7703e8f1128335b6e60ed
a979141https://github.com/mgaligniana/sentry-python/commit/a97914173b730c718ee7703e8f1128335b6e60ed
getsentry#6605https://github.com/getsentry/sentry-python/issues/6605
https://github.co/hiddenchars
https://github.com/getsentry/sentry-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F6606
https://github.com/apps/sentry
sentry[bot] https://github.com/apps/sentry
https://github.com/getsentry/sentry-python/pull/6606/files/cad10e8703b510639157c918d51c28f660ecfd0e
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-python/pull/6606/files/cad10e8703b510639157c918d51c28f660ecfd0e
https://github.com/alexander-alderman-webb
alexander-alderman-webb https://github.com/alexander-alderman-webb
https://github.com/getsentry/sentry-python/pull/6606/files/cad10e8703b510639157c918d51c28f660ecfd0e
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/6606
skip-changelog https://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3Askip-changelog
[Pyramid] Set user id on segment span https://github.com/getsentry/sentry-python/issues/6605
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/6606
https://github.com/ericapisani
https://github.com/alexander-alderman-webb
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.