| 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:e282bff8-1c66-fb9a-cca9-377323bc4f2c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BACC:2564D8:58AFF4:77C527:6B00D01A |
| html-safe-nonce | b8720be70b5e7d46aa4b2cfd25c70c685b3ec4aa00277ab6af914be7b81ac9da |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUNDOjI1NjREODo1OEFGRjQ6NzdDNTI3OjZCMDBEMDFBIiwidmlzaXRvcl9pZCI6IjUxODM0NzI0MzgzMzU3NzQ5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c6c5bcba8efd7eacd91da6d0c2c861fc666ffd45172db40de281170262bc18c9 |
| hovercard-subject-tag | pull_request:2174792019 |
| 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/3764/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 | Replace custom_sampling_context={"asgi_scope": scope} with several span attributes. Also, add sampling_context["transaction_context"]["source"], which was previously m... |
| 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/3764/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F3764%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%2F3764%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/3764/files |
| Reload | https://github.com/getsentry/sentry-python/pull/3764/files |
| Reload | https://github.com/getsentry/sentry-python/pull/3764/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-integrations | https://github.com/getsentry/sentry-python/tree/ivana/custom-sampling-context-integrations |
|
Conversation
4
| https://github.com/getsentry/sentry-python/pull/3764 |
|
Commits
26
| https://github.com/getsentry/sentry-python/pull/3764/commits |
|
Checks
0
| https://github.com/getsentry/sentry-python/pull/3764/checks |
|
Files changed
| https://github.com/getsentry/sentry-python/pull/3764/files |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/3764/files |
|
Unpack custom_sampling_context into attributes in ASGI
| https://github.com/getsentry/sentry-python/pull/3764/files#top |
|
Show all changes
26 commits
| https://github.com/getsentry/sentry-python/pull/3764/files |
|
18103bc
Remove custom_sampling_context
sentrivana Nov 7, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/18103bcd0c81980eaa2bf647835ba0f10b6c4368 |
|
68402ff
confusing wording
sentrivana Nov 7, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/68402fff97e3f7b77aa07c58b45ae784200df912 |
|
70d02cc
Merge branch 'potel-base' into ivana/sampling-context
sentrivana Nov 7, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/70d02cc4032d4d41534027688766f989ecb51667 |
|
fa5d0ba
keep old format (why not)
sentrivana Nov 7, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/fa5d0ba76c57fde8d1498d2b2dc1ae1c674867a8 |
|
5df9ccc
.
sentrivana Nov 7, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/5df9ccc6336a513e11cdeb14c6339297c116eb0f |
|
472ab5c
add attrs
sentrivana Nov 7, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/472ab5c23690fc7ae6cbd3c658654b36c8b31e1e |
|
f893f12
.
sentrivana Nov 7, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/f893f12a2deee3f5d6af89a767b92bb1d5a767e1 |
|
fff9f16
.
sentrivana Nov 7, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/fff9f163cb4d94e9930d50530d2f5752f0aaae97 |
|
ce815e8
more removals
sentrivana Nov 7, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/ce815e8ccee4d5940258b754bc13e16b432adf2f |
|
d307fe1
Merge branch 'potel-base' into ivana/sampling-context
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/d307fe1c3ae7e904d4a2b6c312d7a3964165d7d9 |
|
747ecc6
more readme
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/747ecc6ca113fbf2d3b5488732c649c7c1dcdccc |
|
7ae6745
more info
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/7ae6745076486ce851ce3375b75aa49869f7993a |
|
09d247e
comment
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/09d247ec3a1ffe1a96533efd1ba8014645513f5c |
|
1aeeb68
small change
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/1aeeb68d7d3a00de82ea2dd60181eb8fd61d6ac2 |
|
786bb9e
.
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/786bb9ea3ad3a8987734097c93e4854019bf09e7 |
|
80427c6
dont do everything in this pr
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/80427c6d4a304466c73b5897a1fcd0c74091dcd6 |
|
2acef08
get rid of none attributes
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/2acef08640fd3f15e0b429f423de3ea754cfa339 |
|
eb2df70
dropped result too
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/eb2df70b988c52fda9362181f0a965e1caffac4b |
|
2cee373
Replace custom_sampling_context with attributes in ASGI
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/2cee3737a4ef7108ae653bcc04c5d90ad38e3cc2 |
|
f6fb9a9
add source too
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/f6fb9a91c704dae255fbb38fe61a0ec131362fe0 |
|
86c6373
Merge branch 'potel-base' into ivana/custom-sampling-context-integrat…
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/86c6373ef595fa995a10c637e3e603f8db7341b1 |
|
4002f38
fix starlette tests
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/4002f38e1383409c553c9e041179708e3c0a8726 |
|
dbc8ba2
fix fastapi
sentrivana Nov 12, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/dbc8ba2eb79b404837fdec04683ee9e39a6a19c3 |
|
52f918a
remove middleware spans toggle
sentrivana Nov 13, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/52f918a997a0e77452e3ee1c0e822f60cbb347c8 |
|
6b063cf
Merge branch 'potel-base' into ivana/custom-sampling-context-integrat…
sentrivana Nov 13, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/6b063cf609717a70603761fba2aa9073a5e1dab1 |
|
530fa4f
Merge branch 'potel-base' into ivana/custom-sampling-context-integrat…
sentrivana Nov 14, 2024
| https://github.com/getsentry/sentry-python/pull/3764/commits/530fa4fe13cfcba86ab2297f587088ee9f2e6395 |
|
Clear filters
| https://github.com/getsentry/sentry-python/pull/3764/files |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/3764/files |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/3764/files |
|
MIGRATION_GUIDE.md
| https://github.com/getsentry/sentry-python/pull/3764/files#diff-45651f4c3460b0f20be048556615842a07ec86d262fe5d3d346b5e4a9ce56d6a |
|
asgi.py
| https://github.com/getsentry/sentry-python/pull/3764/files#diff-f8ecdcad48bf089612dbfcc2ddc7bf66c39ce04ab4b036615e9c8ad74603a1c9 |
|
sampler.py
| https://github.com/getsentry/sentry-python/pull/3764/files#diff-59aa7195d955e153b5cdd730f888994996a72eaf5e9ea174335ce961841584a9 |
|
tracing.py
| https://github.com/getsentry/sentry-python/pull/3764/files#diff-771cb012ea65fcb826b77e2abb36b504fdf3407fbe8054857b05fe5a41ed5164 |
|
test_asgi.py
| https://github.com/getsentry/sentry-python/pull/3764/files#diff-a4ca49dac9c5fcce27a4fb5fb53e5f8e764b807773ba7c5476d70d74a9789353 |
|
| https://github.com/getsentry/sentry-python/blob/potel-base/.github/CODEOWNERS#L1 |
| MIGRATION_GUIDE.md | https://github.com/getsentry/sentry-python/pull/3764/files#diff-45651f4c3460b0f20be048556615842a07ec86d262fe5d3d346b5e4a9ce56d6a |
|
View file
| https://github.com/getsentry/sentry-python/blob/530fa4fe13cfcba86ab2297f587088ee9f2e6395/MIGRATION_GUIDE.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/3764/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-python/pull/3764/files#diff-45651f4c3460b0f20be048556615842a07ec86d262fe5d3d346b5e4a9ce56d6a |
|
| https://github.com/getsentry/sentry-python/pull/3764/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/3764/files#diff-f8ecdcad48bf089612dbfcc2ddc7bf66c39ce04ab4b036615e9c8ad74603a1c9 |
|
View file
| https://github.com/getsentry/sentry-python/blob/530fa4fe13cfcba86ab2297f587088ee9f2e6395/sentry_sdk/integrations/asgi.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/3764/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-python/pull/3764/files#diff-f8ecdcad48bf089612dbfcc2ddc7bf66c39ce04ab4b036615e9c8ad74603a1c9 |
|
| https://github.com/getsentry/sentry-python/pull/3764/files#diff-f8ecdcad48bf089612dbfcc2ddc7bf66c39ce04ab4b036615e9c8ad74603a1c9 |
|
| https://github.com/getsentry/sentry-python/pull/3764/files#diff-f8ecdcad48bf089612dbfcc2ddc7bf66c39ce04ab4b036615e9c8ad74603a1c9 |
|
| https://github.com/getsentry/sentry-python/blob/potel-base/.github/CODEOWNERS#L1 |
| sentry_sdk/integrations/opentelemetry/sampler.py | https://github.com/getsentry/sentry-python/pull/3764/files#diff-59aa7195d955e153b5cdd730f888994996a72eaf5e9ea174335ce961841584a9 |
|
View file
| https://github.com/getsentry/sentry-python/blob/530fa4fe13cfcba86ab2297f587088ee9f2e6395/sentry_sdk/integrations/opentelemetry/sampler.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/3764/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-python/pull/3764/files#diff-59aa7195d955e153b5cdd730f888994996a72eaf5e9ea174335ce961841584a9 |
|
| https://github.com/getsentry/sentry-python/pull/3764/files#diff-59aa7195d955e153b5cdd730f888994996a72eaf5e9ea174335ce961841584a9 |
|
| https://github.com/getsentry/sentry-python/blob/potel-base/.github/CODEOWNERS#L1 |
| sentry_sdk/tracing.py | https://github.com/getsentry/sentry-python/pull/3764/files#diff-771cb012ea65fcb826b77e2abb36b504fdf3407fbe8054857b05fe5a41ed5164 |
|
View file
| https://github.com/getsentry/sentry-python/blob/530fa4fe13cfcba86ab2297f587088ee9f2e6395/sentry_sdk/tracing.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/3764/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-python/pull/3764/files#diff-771cb012ea65fcb826b77e2abb36b504fdf3407fbe8054857b05fe5a41ed5164 |
|
| https://github.com/getsentry/sentry-python/pull/3764/files#diff-771cb012ea65fcb826b77e2abb36b504fdf3407fbe8054857b05fe5a41ed5164 |
|
| https://github.com/getsentry/sentry-python/pull/3764/files#diff-771cb012ea65fcb826b77e2abb36b504fdf3407fbe8054857b05fe5a41ed5164 |
|
| 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/3764/files#diff-a4ca49dac9c5fcce27a4fb5fb53e5f8e764b807773ba7c5476d70d74a9789353 |
|
View file
| https://github.com/getsentry/sentry-python/blob/530fa4fe13cfcba86ab2297f587088ee9f2e6395/tests/integrations/asgi/test_asgi.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/3764/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-python/pull/3764/files#diff-a4ca49dac9c5fcce27a4fb5fb53e5f8e764b807773ba7c5476d70d74a9789353 |
|
| 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 |