| 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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:a399d662-b262-35a0-92fb-e9c201267b9f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 988E:2BE220:11E6F0:189F54:6B00BC32 |
| html-safe-nonce | 5c6f5fb38d2c6ee3839c6ff6624ee9fe9da6afeec0b611c42c98654c778bb2cb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODhFOjJCRTIyMDoxMUU2RjA6MTg5RjU0OjZCMDBCQzMyIiwidmlzaXRvcl9pZCI6IjE0OTQyMzMzMzE4MjU0MjU0NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 07f155733ab12a18c84c17f56abf7f03d701a06926778afd3aaafe6519793594 |
| hovercard-subject-tag | pull_request:3663497461 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-python/6252/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/01dfe7f29a1131710ff7930b86637667b35d9e2ddfce6dfca83b3719f5fb4fb7/getsentry/sentry-python/pull/6252 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/01dfe7f29a1131710ff7930b86637667b35d9e2ddfce6dfca83b3719f5fb4fb7/getsentry/sentry-python/pull/6252 |
| og:image:alt | Patch BaseCursor._bind_exec, _bind, and _exec instead of wrapping Connection.cursor creation. The old approach only captured cursor creation, not actual query execution. The new approach creates sp... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ericapisani |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1d07c25977adfc5ff6acb0a962a9bc168c07afbda6fef765f9761c350c2ae4a2 |
| turbo-cache-control | no-cache |
| 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 | 5429cbfc6aca8c7b9a086a3c8f47400346f38cc9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/getsentry/sentry-python/pull/6252#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F6252 |
| 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%2F6252 |
| 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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-python |
| Reload | https://github.com/getsentry/sentry-python/pull/6252 |
| Reload | https://github.com/getsentry/sentry-python/pull/6252 |
| Reload | https://github.com/getsentry/sentry-python/pull/6252 |
| 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 |
| https://github.com/getsentry/sentry-python |
| ericapisani | https://github.com/ericapisani |
| master | https://github.com/getsentry/sentry-python/tree/master |
| py-2408-asyncpg-cursor-span-support | https://github.com/getsentry/sentry-python/tree/py-2408-asyncpg-cursor-span-support |
| Conversation | https://github.com/getsentry/sentry-python/pull/6252 |
| Commits4 (4) | https://github.com/getsentry/sentry-python/pull/6252/commits |
| Checks | https://github.com/getsentry/sentry-python/pull/6252/checks |
| Files changed | https://github.com/getsentry/sentry-python/pull/6252/files |
| feat(asyncpg): Add cursor span support via BaseCursor method patching | https://github.com/getsentry/sentry-python/pull/6252#top |
| ericapisani | https://github.com/ericapisani |
| master | https://github.com/getsentry/sentry-python/tree/master |
| py-2408-asyncpg-cursor-span-support | https://github.com/getsentry/sentry-python/tree/py-2408-asyncpg-cursor-span-support |
|
| https://github.com/ericapisani |
| ericapisani | https://github.com/ericapisani |
| May 11, 2026 | https://github.com/getsentry/sentry-python/pull/6252#issue-4423038187 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/6252 |
| #6215 | https://github.com/getsentry/sentry-python/pull/6215 |
| #6240 | https://github.com/getsentry/sentry-python/issues/6240 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/6252 |
| ericapisani | https://github.com/ericapisani |
| May 11, 2026 13:36 | https://github.com/getsentry/sentry-python/pull/6252#commits-pushed-6406ae7 |
|
| https://github.com/ericapisani |
| feat(asyncpg): Add cursor span support via BaseCursor method patching | https://github.com/getsentry/sentry-python/pull/6252/commits/6406ae78e955f477de286147b7e2bee388edb78b |
| 6406ae7 | https://github.com/getsentry/sentry-python/pull/6252/commits/6406ae78e955f477de286147b7e2bee388edb78b |
| #6240 | https://github.com/getsentry/sentry-python/issues/6240 |
|
| https://github.com/ericapisani |
| Merge branch 'master' into py-2408-asyncpg-cursor-span-support | https://github.com/getsentry/sentry-python/pull/6252/commits/b81ac975efa5613f55cb634920ce1599a270db3c |
| b81ac97 | https://github.com/getsentry/sentry-python/pull/6252/commits/b81ac975efa5613f55cb634920ce1599a270db3c |
| https://github.com/apps/linear-code |
| linear-code | https://github.com/apps/linear-code |
| May 11, 2026 | https://github.com/getsentry/sentry-python/pull/6252#issuecomment-4423333740 |
| PY-2408 | https://linear.app/getsentry/issue/PY-2408 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/6252 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| May 11, 2026 | https://github.com/getsentry/sentry-python/pull/6252#issuecomment-4423344976 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/6252 |
| Codecov Action | https://github.com/getsentry/codecov-action |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/6252 |
| https://github.com/ericapisani |
| ericapisani | https://github.com/ericapisani |
| May 11, 2026 | https://github.com/getsentry/sentry-python/pull/6252#issuecomment-4423345758 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/6252 |
| https://github.com/ericapisani |
| ericapisani | https://github.com/ericapisani |
| May 11, 2026 | https://github.com/getsentry/sentry-python/pull/6252#issuecomment-4423346354 |
| @sentry | https://github.com/sentry |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/6252 |
| https://github.com/ericapisani |
| ericapisani | https://github.com/ericapisani |
|
skip-changelog
| https://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3Askip-changelog |
|
skip-changelog
| https://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3Askip-changelog |
| May 11, 2026 | https://github.com/getsentry/sentry-python/pull/6252#event-25394616836 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
May 11, 2026
| https://github.com/getsentry/sentry-python/pull/6252#pullrequestreview-4266129982 |
|
View reviewed changes
| https://github.com/getsentry/sentry-python/pull/6252/files/b81ac975efa5613f55cb634920ce1599a270db3c |
| cursor | https://github.com/apps/cursor |
| https://github.com/getsentry/sentry-python/pull/6252#pullrequestreview-4266129982 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Cursor Bugbot | https://cursor.com/bugbot |
| b81ac97 | https://github.com/getsentry/sentry-python/commit/b81ac975efa5613f55cb634920ce1599a270db3c |
| here | https://www.cursor.com/dashboard/bugbot |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/6252 |
|
| https://github.com/ericapisani |
| Merge branch 'master' into py-2408-asyncpg-cursor-span-support | https://github.com/getsentry/sentry-python/pull/6252/commits/65c07eb90b2eb88c1db880b5811f8a70d9e357f1 |
| 65c07eb | https://github.com/getsentry/sentry-python/pull/6252/commits/65c07eb90b2eb88c1db880b5811f8a70d9e357f1 |
| https://github.com/ericapisani |
| ericapisani | https://github.com/ericapisani |
|
May 11, 2026
| https://github.com/getsentry/sentry-python/pull/6252#pullrequestreview-4266377872 |
|
View reviewed changes
| https://github.com/getsentry/sentry-python/pull/6252/files/65c07eb90b2eb88c1db880b5811f8a70d9e357f1 |
| sentry_sdk/integrations/asyncpg.py | https://github.com/getsentry/sentry-python/pull/6252/files/65c07eb90b2eb88c1db880b5811f8a70d9e357f1#diff-e84ac0dfd297dc7cbebce1eabb50a946897e5fdc93771715fe3af475260cb180 |
| ericapisani | https://github.com/ericapisani |
| May 11, 2026 | https://github.com/getsentry/sentry-python/pull/6252#discussion_r3221275583 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| method | https://github.com/MagicStack/asyncpg/blob/db8ecc2a38e16fb0c090aef6f5506547c2831c24/asyncpg/cursor.py#L75 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/6252 |
| https://github.com/ericapisani |
| ericapisani | https://github.com/ericapisani |
|
May 11, 2026
| https://github.com/getsentry/sentry-python/pull/6252#pullrequestreview-4266446298 |
|
View reviewed changes
| https://github.com/getsentry/sentry-python/pull/6252/files/65c07eb90b2eb88c1db880b5811f8a70d9e357f1 |
| tests/integrations/asyncpg/test_asyncpg.py | https://github.com/getsentry/sentry-python/pull/6252/files/65c07eb90b2eb88c1db880b5811f8a70d9e357f1#diff-5d4996fee03f01ce7636fa441782ac6e183e58147b842fcfc787120fcf75a1c6 |
| ericapisani | https://github.com/ericapisani |
| May 11, 2026 | https://github.com/getsentry/sentry-python/pull/6252#discussion_r3221331368 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/6252 |
| https://github.com/ericapisani |
| ericapisani | https://github.com/ericapisani |
| May 11, 2026 18:46 | https://github.com/getsentry/sentry-python/pull/6252#event-25396755333 |
| https://github.com/ericapisani |
| ericapisani | https://github.com/ericapisani |
| code owner | https://github.com/getsentry/sentry-python/blob/c7187282c5d514ecabf110ab0e97c5b9fbc81d48/.github/CODEOWNERS#L1 |
| May 11, 2026 18:46 | https://github.com/getsentry/sentry-python/pull/6252#event-25396755772 |
| https://github.com/sentrivana |
| sentrivana | https://github.com/sentrivana |
|
May 12, 2026
| https://github.com/getsentry/sentry-python/pull/6252#pullrequestreview-4271389965 |
|
View reviewed changes
| https://github.com/getsentry/sentry-python/pull/6252/files/65c07eb90b2eb88c1db880b5811f8a70d9e357f1 |
| sentrivana | https://github.com/sentrivana |
| https://github.com/getsentry/sentry-python/pull/6252#pullrequestreview-4271389965 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/6252 |
| tests/integrations/asyncpg/test_asyncpg.py | https://github.com/getsentry/sentry-python/pull/6252/files/65c07eb90b2eb88c1db880b5811f8a70d9e357f1#diff-5d4996fee03f01ce7636fa441782ac6e183e58147b842fcfc787120fcf75a1c6 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/6252 |
|
| https://github.com/ericapisani |
|
| https://github.com/sentrivana |
| Update tests/integrations/asyncpg/test_asyncpg.py | https://github.com/getsentry/sentry-python/pull/6252/commits/72c0455f9529f17be03be0211c3f4c403c47fb79 |
| 72c0455 | https://github.com/getsentry/sentry-python/pull/6252/commits/72c0455f9529f17be03be0211c3f4c403c47fb79 |
| https://github.com/ericapisani |
| ericapisani | https://github.com/ericapisani |
| 0e47ead | https://github.com/getsentry/sentry-python/commit/0e47eadedea808a4ca7865a480552872208be890 |
| May 12, 2026 | https://github.com/getsentry/sentry-python/pull/6252#event-25429904463 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/6252 |
| https://github.com/ericapisani |
| ericapisani | https://github.com/ericapisani |
| May 12, 2026 12:34 | https://github.com/getsentry/sentry-python/pull/6252#event-25429906548 |
| https://github.com/ericapisani |
| ericapisani | https://github.com/ericapisani |
|
May 12, 2026
| https://github.com/getsentry/sentry-python/pull/6252#ref-pullrequest-4408093273 |
|
feat(asyncpg): Add query source to execute, executemany, and cursor methods
#6242
| https://github.com/getsentry/sentry-python/pull/6242 |
| https://github.com/apps/sentry-release-bot |
| sentry-release-bot | https://github.com/apps/sentry-release-bot |
|
May 13, 2026
| https://github.com/getsentry/sentry-python/pull/6252#ref-issue-4438159170 |
|
publish: getsentry/sentry-python@2.60.0
getsentry/publish#8163
| https://github.com/getsentry/publish/issues/8163 |
| https://github.com/sk- |
| sk- | https://github.com/sk- |
| Jun 15, 2026 | https://github.com/getsentry/sentry-python/pull/6252#issuecomment-4709297269 |
| @ericapisani | https://github.com/ericapisani |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/6252 |
| https://github.com/ericapisani |
| ericapisani | https://github.com/ericapisani |
| Jun 15, 2026 | https://github.com/getsentry/sentry-python/pull/6252#issuecomment-4711567411 |
| @sk- | https://github.com/sk- |
| Sentry's detection | https://docs.sentry.io/product/issues/issue-details/performance-issues/n-one-queries/ |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/6252 |
| https://github.com/sk- |
| sk- | https://github.com/sk- |
|
Jun 15, 2026
| https://github.com/getsentry/sentry-python/pull/6252#ref-issue-4668732846 |
|
Sentry detects N+1 queries in server side cursor
#6576
| https://github.com/getsentry/sentry-python/issues/6576 |
| mgaligniana | https://github.com/mgaligniana |
|
Aug 9, 2026
| https://github.com/getsentry/sentry-python/pull/6252#ref-commit-288210b |
|
| https://github.com/ericapisani |
|
| https://github.com/sentrivana |
|
| https://github.com/mgaligniana |
| feat(asyncpg): Add cursor span support via BaseCursor method patching ( | https://github.com/mgaligniana/sentry-python/commit/288210bb506c4746aba535a587b219cb4298616a |
| … | https://github.com/getsentry/sentry-python/pull/6252 |
| 288210b | https://github.com/mgaligniana/sentry-python/commit/288210bb506c4746aba535a587b219cb4298616a |
| …getsentry#6252 | https://github.com/getsentry/sentry-python/pull/6252 |
| getsentry#6215 | https://github.com/getsentry/sentry-python/pull/6215 |
| getsentry#6240 | https://github.com/getsentry/sentry-python/issues/6240 |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F6252 |
|
| https://github.com/apps/cursor |
|
cursor[bot]
| https://github.com/apps/cursor |
|
| https://github.com/getsentry/sentry-python/pull/6252/files/b81ac975efa5613f55cb634920ce1599a270db3c |
|
| https://github.com/sentrivana |
|
sentrivana
| https://github.com/sentrivana |
|
| https://github.com/getsentry/sentry-python/pull/6252/files/65c07eb90b2eb88c1db880b5811f8a70d9e357f1 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/6252 |
|
Investigate missing span coverage on queries run by an asyncpg Cursor
| https://github.com/getsentry/sentry-python/issues/6240 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/6252 |
|
| https://github.com/ericapisani |
|
| https://github.com/sk- |
|
| https://github.com/sentrivana |
|
| 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 |