| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6149f159-0520-f1b2-360e-33fb9868d0b9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D01A:2E3FEE:3984DE:4A5EF7:6B00D278 |
| html-safe-nonce | 12d05c78872916005e4b1737bfdcad5a0a07cf666191dc73bd963516a63774ec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDFBOjJFM0ZFRTozOTg0REU6NEE1RUY3OjZCMDBEMjc4IiwidmlzaXRvcl9pZCI6IjE0ODc4MzA5NDAwNDE0MDA5NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 310fa3e8308e1e5481cb1e3e04ef8692de63b09e9d7d54498ddacdf9acfe0cb2 |
| hovercard-subject-tag | pull_request:2179662623 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/getsentry/sentry-python/pull/3775/files |
| twitter:image | https://avatars.githubusercontent.com/u/131587164?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/131587164?s=400&v=4 |
| og:image:alt | Instead of passing wsgi_environ to the traces_sampler via sampling_context, unpack it into several span attributes and make those accessible in the traces_sampler.
Add url.query for ASGI.
Part of ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 85bbdfe2b6ba16e234513bc6ceff5d848ef8449820c900692a2b4e67061931e5 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4943239a6d2c591325dad6e5c313e1cafda877f6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/getsentry/sentry-python/pull/3775/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F3775%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F3775%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=getsentry%2Fsentry-python |
| Reload | https://github.com/getsentry/sentry-python/pull/3775/files |
| Reload | https://github.com/getsentry/sentry-python/pull/3775/files |
| Reload | https://github.com/getsentry/sentry-python/pull/3775/files |
| getsentry | https://github.com/getsentry |
| sentry-python | https://github.com/getsentry/sentry-python |
| Code | https://github.com/getsentry/sentry-python |
| Issues345 (345) | https://github.com/getsentry/sentry-python/issues |
| Pull requests42 (42) | https://github.com/getsentry/sentry-python/pulls |
| Discussions | https://github.com/getsentry/sentry-python/discussions |
| Actions | https://github.com/getsentry/sentry-python/actions |
| Security and quality2 (2) | https://github.com/getsentry/sentry-python/security |
| Insights | https://github.com/getsentry/sentry-python/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fgetsentry%2Fsentry-python%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fgetsentry%2Fsentry-python%2Fissues%2Fnew%2Fchoose |
| sentrivana | https://github.com/sentrivana |
| potel-base | https://github.com/getsentry/sentry-python/tree/potel-base |
| ivana/custom-sampling-context-wsgi | https://github.com/getsentry/sentry-python/tree/ivana/custom-sampling-context-wsgi |
|
Conversation
1
| https://github.com/getsentry/sentry-python/pull/3775 |
|
Commits
34
| https://github.com/getsentry/sentry-python/pull/3775/commits |
|
Checks
0
| https://github.com/getsentry/sentry-python/pull/3775/checks |
|
Files changed
| https://github.com/getsentry/sentry-python/pull/3775/files |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/3775/files |
|
Unpack WSGI environ into span attrs accessible in traces sampler
| https://github.com/getsentry/sentry-python/pull/3775/files#top |
|
Show all changes
34 commits
| https://github.com/getsentry/sentry-python/pull/3775/files |
|
18103bc
Remove custom_sampling_context
sentrivana Nov 7, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/18103bcd0c81980eaa2bf647835ba0f10b6c4368 |
|
68402ff
confusing wording
sentrivana Nov 7, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/68402fff97e3f7b77aa07c58b45ae784200df912 |
|
70d02cc
Merge branch 'potel-base' into ivana/sampling-context
sentrivana Nov 7, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/70d02cc4032d4d41534027688766f989ecb51667 |
|
fa5d0ba
keep old format (why not)
sentrivana Nov 7, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/fa5d0ba76c57fde8d1498d2b2dc1ae1c674867a8 |
|
5df9ccc
.
sentrivana Nov 7, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/5df9ccc6336a513e11cdeb14c6339297c116eb0f |
|
472ab5c
add attrs
sentrivana Nov 7, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/472ab5c23690fc7ae6cbd3c658654b36c8b31e1e |
|
f893f12
.
sentrivana Nov 7, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/f893f12a2deee3f5d6af89a767b92bb1d5a767e1 |
|
fff9f16
.
sentrivana Nov 7, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/fff9f163cb4d94e9930d50530d2f5752f0aaae97 |
|
ce815e8
more removals
sentrivana Nov 7, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/ce815e8ccee4d5940258b754bc13e16b432adf2f |
|
d307fe1
Merge branch 'potel-base' into ivana/sampling-context
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/d307fe1c3ae7e904d4a2b6c312d7a3964165d7d9 |
|
747ecc6
more readme
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/747ecc6ca113fbf2d3b5488732c649c7c1dcdccc |
|
7ae6745
more info
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/7ae6745076486ce851ce3375b75aa49869f7993a |
|
09d247e
comment
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/09d247ec3a1ffe1a96533efd1ba8014645513f5c |
|
1aeeb68
small change
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/1aeeb68d7d3a00de82ea2dd60181eb8fd61d6ac2 |
|
786bb9e
.
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/786bb9ea3ad3a8987734097c93e4854019bf09e7 |
|
80427c6
dont do everything in this pr
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/80427c6d4a304466c73b5897a1fcd0c74091dcd6 |
|
2acef08
get rid of none attributes
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/2acef08640fd3f15e0b429f423de3ea754cfa339 |
|
eb2df70
dropped result too
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/eb2df70b988c52fda9362181f0a965e1caffac4b |
|
c559669
Use attributes instead of custom_sampling_context in WSGI
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/c5596693eb30853c8923378e4b8e901d002769f2 |
|
6e71d36
Merge branch 'potel-base' into ivana/custom-sampling-context-wsgi
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/6e71d36d1a627059abbafa1ba56f278c71c07e84 |
|
e0ddad5
Merge branch 'potel-base' into ivana/custom-sampling-context-wsgi
sentrivana Nov 13, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/e0ddad5b64ee79b111dcf3c584806d03a1977055 |
|
ef68e44
.
sentrivana Nov 13, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/ef68e44d461350f18afc3282c9a5a3617ed074b3 |
|
51ed959
Merge branch 'potel-base' into ivana/custom-sampling-context-wsgi
sentrivana Nov 14, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/51ed959e65b8b6f49acb13f04bd1c984db34fa4f |
|
e20dc06
Merge branch 'potel-base' into ivana/custom-sampling-context-wsgi
sentrivana Nov 14, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/e20dc065e2931882388d62c1c0431962e819a4c6 |
|
be08540
todo
sentrivana Nov 14, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/be0854046e4fbbcc01c70d46ce3c0379f3ffe1a1 |
|
126c3e3
Merge branch 'potel-base' into ivana/custom-sampling-context-wsgi
sentrivana Nov 14, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/126c3e3298dd684a218804d4ff5bbaf43a30704d |
|
c3fe091
url.full
sentrivana Nov 14, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/c3fe091482b8ad8b29a66efa678aaa9030790d89 |
|
31505a5
migration guide
sentrivana Nov 14, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/31505a5678bf7e5d96d910b127e4084a0a6374f8 |
|
5dff8d8
formatting
sentrivana Nov 15, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/5dff8d85e4dae612332a254252869f80263044c6 |
|
f0ac52f
Merge branch 'potel-base' into ivana/custom-sampling-context-wsgi
sentrivana Nov 15, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/f0ac52fed1e02257be2925b5d7faec40e3acf6e8 |
|
471ad40
missing keys
sentrivana Nov 15, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/471ad4036e69e5d47ebe9947687cf4de67cf787f |
|
1a38de3
also add query for asgi
sentrivana Nov 15, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/1a38de3b1cf9711b448d61275e70df63aa7a7e83 |
|
48ddc4f
fix test
sentrivana Nov 15, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/48ddc4f460ac646074bc0f5e54382954c900e73e |
|
affbe59
reorg
sentrivana Nov 15, 2024
| https://github.com/getsentry/sentry-python/pull/3775/commits/affbe59de9c4b5ea90ab94ffd47c5af94362003d |
|
Clear filters
| https://github.com/getsentry/sentry-python/pull/3775/files |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/3775/files |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/3775/files |
|
MIGRATION_GUIDE.md
| https://github.com/getsentry/sentry-python/pull/3775/files#diff-45651f4c3460b0f20be048556615842a07ec86d262fe5d3d346b5e4a9ce56d6a |
|
asgi.py
| https://github.com/getsentry/sentry-python/pull/3775/files#diff-f8ecdcad48bf089612dbfcc2ddc7bf66c39ce04ab4b036615e9c8ad74603a1c9 |
|
wsgi.py
| https://github.com/getsentry/sentry-python/pull/3775/files#diff-58345d076fab49fb65de62f02cd574bad2b45191a5db133eb8edf412570b2623 |
|
test_asgi.py
| https://github.com/getsentry/sentry-python/pull/3775/files#diff-a4ca49dac9c5fcce27a4fb5fb53e5f8e764b807773ba7c5476d70d74a9789353 |
|
test_wsgi.py
| https://github.com/getsentry/sentry-python/pull/3775/files#diff-bf66c9f03fd60c70360b54ccfe719c66f3c559c00be52d96ec92d2652ec611c2 |
|
| https://github.com/getsentry/sentry-python/blob/potel-base/.github/CODEOWNERS#L1 |
| MIGRATION_GUIDE.md | https://github.com/getsentry/sentry-python/pull/3775/files#diff-45651f4c3460b0f20be048556615842a07ec86d262fe5d3d346b5e4a9ce56d6a |
|
View file
| https://github.com/getsentry/sentry-python/blob/affbe59de9c4b5ea90ab94ffd47c5af94362003d/MIGRATION_GUIDE.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/3775/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-python/pull/3775/files#diff-45651f4c3460b0f20be048556615842a07ec86d262fe5d3d346b5e4a9ce56d6a |
|
| https://github.com/getsentry/sentry-python/pull/3775/files#diff-45651f4c3460b0f20be048556615842a07ec86d262fe5d3d346b5e4a9ce56d6a |
|
| https://github.com/getsentry/sentry-python/blob/potel-base/.github/CODEOWNERS#L1 |
| sentry_sdk/integrations/asgi.py | https://github.com/getsentry/sentry-python/pull/3775/files#diff-f8ecdcad48bf089612dbfcc2ddc7bf66c39ce04ab4b036615e9c8ad74603a1c9 |
|
View file
| https://github.com/getsentry/sentry-python/blob/affbe59de9c4b5ea90ab94ffd47c5af94362003d/sentry_sdk/integrations/asgi.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/3775/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-python/pull/3775/files#diff-f8ecdcad48bf089612dbfcc2ddc7bf66c39ce04ab4b036615e9c8ad74603a1c9 |
|
| https://github.com/getsentry/sentry-python/pull/3775/files#diff-f8ecdcad48bf089612dbfcc2ddc7bf66c39ce04ab4b036615e9c8ad74603a1c9 |
|
| https://github.com/getsentry/sentry-python/blob/potel-base/.github/CODEOWNERS#L1 |
| sentry_sdk/integrations/wsgi.py | https://github.com/getsentry/sentry-python/pull/3775/files#diff-58345d076fab49fb65de62f02cd574bad2b45191a5db133eb8edf412570b2623 |
|
View file
| https://github.com/getsentry/sentry-python/blob/affbe59de9c4b5ea90ab94ffd47c5af94362003d/sentry_sdk/integrations/wsgi.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/3775/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-python/pull/3775/files#diff-58345d076fab49fb65de62f02cd574bad2b45191a5db133eb8edf412570b2623 |
|
| https://github.com/getsentry/sentry-python/pull/3775/files#diff-58345d076fab49fb65de62f02cd574bad2b45191a5db133eb8edf412570b2623 |
|
| https://github.com/getsentry/sentry-python/pull/3775/files#diff-58345d076fab49fb65de62f02cd574bad2b45191a5db133eb8edf412570b2623 |
|
| https://github.com/getsentry/sentry-python/pull/3775/files#diff-58345d076fab49fb65de62f02cd574bad2b45191a5db133eb8edf412570b2623 |
|
| https://github.com/getsentry/sentry-python/pull/3775/files#diff-58345d076fab49fb65de62f02cd574bad2b45191a5db133eb8edf412570b2623 |
|
| https://github.com/getsentry/sentry-python/blob/potel-base/.github/CODEOWNERS#L1 |
| tests/integrations/asgi/test_asgi.py | https://github.com/getsentry/sentry-python/pull/3775/files#diff-a4ca49dac9c5fcce27a4fb5fb53e5f8e764b807773ba7c5476d70d74a9789353 |
|
View file
| https://github.com/getsentry/sentry-python/blob/affbe59de9c4b5ea90ab94ffd47c5af94362003d/tests/integrations/asgi/test_asgi.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/3775/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-python/pull/3775/files#diff-a4ca49dac9c5fcce27a4fb5fb53e5f8e764b807773ba7c5476d70d74a9789353 |
|
| https://github.com/getsentry/sentry-python/pull/3775/files#diff-a4ca49dac9c5fcce27a4fb5fb53e5f8e764b807773ba7c5476d70d74a9789353 |
|
| https://github.com/getsentry/sentry-python/blob/potel-base/.github/CODEOWNERS#L1 |
| tests/integrations/wsgi/test_wsgi.py | https://github.com/getsentry/sentry-python/pull/3775/files#diff-bf66c9f03fd60c70360b54ccfe719c66f3c559c00be52d96ec92d2652ec611c2 |
|
View file
| https://github.com/getsentry/sentry-python/blob/affbe59de9c4b5ea90ab94ffd47c5af94362003d/tests/integrations/wsgi/test_wsgi.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/3775/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-python/pull/3775/files#diff-bf66c9f03fd60c70360b54ccfe719c66f3c559c00be52d96ec92d2652ec611c2 |
|
| https://github.com/getsentry/sentry-python/pull/3775/files#diff-bf66c9f03fd60c70360b54ccfe719c66f3c559c00be52d96ec92d2652ec611c2 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |