René's URL Explorer Experiment


Title: Prisma 8 support for `prismaIntegration` · Issue #24237 · getsentry/sentry-javascript · GitHub

Open Graph Title: Prisma 8 support for `prismaIntegration` · Issue #24237 · getsentry/sentry-javascript

X Title: Prisma 8 support for `prismaIntegration` · Issue #24237 · getsentry/sentry-javascript

Description: Prisma 8 ("Prisma Next", @prisma/orm-postgres, currently 8.0.0-rc.8) ships no tracing surface. It never reads the global PRISMA_INSTRUMENTATION helper, so prismaIntegration is inert. Only raw pg spans from postgresIntegration remain: one...

Open Graph Description: Prisma 8 ("Prisma Next", @prisma/orm-postgres, currently 8.0.0-rc.8) ships no tracing surface. It never reads the global PRISMA_INSTRUMENTATION helper, so prismaIntegration is inert. Only raw pg sp...

X Description: Prisma 8 ("Prisma Next", @prisma/orm-postgres, currently 8.0.0-rc.8) ships no tracing surface. It never reads the global PRISMA_INSTRUMENTATION helper, so prismaIntegration is inert. Only...

Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/24237

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Prisma 8 support for `prismaIntegration`","articleBody":"Prisma 8 (\"Prisma Next\", `@prisma/orm-postgres`, currently 8.0.0-rc.8) ships no tracing surface. It never reads the global `PRISMA_INSTRUMENTATION` helper, so `prismaIntegration` is inert. Only raw `pg` spans from `postgresIntegration` remain: one flat `db` span per statement, plus Prisma's marker-verification and `BEGIN`/`COMMIT` housekeeping queries as siblings. The v7 span tree (`prisma:client:operation` with `model`/`method`, `serialize`, `connect`, nested `db_query`) is gone.\n\n**Goal:** roughly the same spans on Prisma 8 as on v7.\n\n**Approach:** instrument via orchestrion, like the other server-utils integrations. No user code needed, works with the runtime loader hook and the bundler plugins.\n\n- Patch the `CollectionImpl` methods (`create`, `createAll`, `upsert`, `update`, `updateAll`, `delete`, `deleteAll`, `all`, `first`, `count`, `aggregate`) in `@prisma/orm-family-sql/dist/orm-client.mjs` for `prisma:client:operation` (origin `auto.db.prisma`, `model`/`method` attributes).\n- Patch `execute(plan, options)` on the runtime base class in `@prisma/orm-family-sql/dist/runtime.mjs` so the `pg` query spans nest under the operation. The plan carries `meta.lane` and annotations.\n- No `serialize` span. `connect` only if the lazy pool creation in `@prisma/orm-postgres/dist/runtime.mjs` is patchable cleanly.\n- Wire it through `prismaIntegration` so `@sentry/node` and `@sentry/cloudflare/nodejs_compat` stay the entry points.\n\n**Scope:**\n- Orchestrion config + channel subscriber for the above.\n- Extend `dev-packages/node-integration-tests/suites/tracing/prisma-orm-v8` (currently pins the inert behaviour) to assert the v7-shaped tree.\n- Docs: `prismaIntegration` JSDoc and Sentry docs say \"v6 and v7\"; add v8.\n\n**Risks / constraints:**\n- Patch points live in `@prisma/orm-family-sql`, a transitive dependency. The two files are unhashed, but `versionRange` must be pinned tightly and revisited at 8.0 stable.\n- `.all()` returns a thenable that only runs the query when awaited; check the `Auto` kind's promise handling against that shape.\n- Prisma's marker-verification and `BEGIN`/`COMMIT` statements will nest under the operation span, unlike v7.\n- v8 CLI needs Node ≥22.18; `DateTime` columns decode to `Temporal` (global only on Node 26).\n\n**References:**\n- Prisma scorecard, \"OpenTelemetry tracing spans: not in 8.0\": https://github.com/prisma/orm/blob/main/scorecard/19-observability-and-lifecycle.md\n- Telemetry design: https://github.com/prisma/orm/blob/main/docs/architecture%20docs/adrs/ADR%20024%20-%20Telemetry%20Schema.md\n","author":{"url":"https://github.com/chargome","@type":"Person","name":"chargome"},"datePublished":"2026-09-09T10:46:06Z","url":"https://github.com/getsentry/sentry-javascript/issues/24237"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:eef76daf-d2a6-db13-8475-de8afe469cf1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD57A:F4D72:5C1928:7D5084:6B04418E
html-safe-nonceff90fa5894d4954c278f5c6631f07267560a3e6580946138e5564083a07f8778
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTdBOkY0RDcyOjVDMTkyODo3RDUwODQ6NkIwNDQxOEUiLCJ2aXNpdG9yX2lkIjoiNzkxODk4OTIyNTMxNDUwMTAwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2d2205d3216f24abef76e0d6dea97c7e3dd124fb4e2a292212e6bfd43c0a07da
hovercard-subject-tagissue:5398382885
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/24237/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c60b15d9be06b7673819018d94411c3084034200d8d9b859f8823b7e2dff387e/getsentry/sentry-javascript/issues/24237
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c60b15d9be06b7673819018d94411c3084034200d8d9b859f8823b7e2dff387e/getsentry/sentry-javascript/issues/24237
og:image:altPrisma 8 ("Prisma Next", @prisma/orm-postgres, currently 8.0.0-rc.8) ships no tracing surface. It never reads the global PRISMA_INSTRUMENTATION helper, so prismaIntegration is inert. Only raw pg sp...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechargome
hostnamegithub.com
expected-hostnamegithub.com
None9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64
turbo-cache-controlno-preview
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
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
release06dc448a76fe4751ac1db26524aefa3aa3e889a8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/issues/24237#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F24237
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-javascript%2Fissues%2F24237
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/issues/24237
Reloadhttps://github.com/getsentry/sentry-javascript/issues/24237
Reloadhttps://github.com/getsentry/sentry-javascript/issues/24237
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues339 (339)https://github.com/getsentry/sentry-javascript/issues
Pull requests53 (53)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/24237
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/24237
#24682https://github.com/getsentry/sentry-javascript/pull/24682
Prisma 8 support for prismaIntegrationhttps://github.com/getsentry/sentry-javascript/issues/24237#top
#24682https://github.com/getsentry/sentry-javascript/pull/24682
https://github.com/chargome
Integration: prismaIssues related to Prisma support for the Sentry Node SDKhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Integration%3A%20prisma%22
Package: nodehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Package%3A%20node%22
https://github.com/chargome
chargomehttps://github.com/chargome
on Sep 9, 2026https://github.com/getsentry/sentry-javascript/issues/24237#issue-5398382885
https://github.com/prisma/orm/blob/main/scorecard/19-observability-and-lifecycle.mdhttps://github.com/prisma/orm/blob/main/scorecard/19-observability-and-lifecycle.md
https://github.com/prisma/orm/blob/main/docs/architecture%20docs/adrs/ADR%20024%20-%20Telemetry%20Schema.mdhttps://github.com/prisma/orm/blob/main/docs/architecture%20docs/adrs/ADR%20024%20-%20Telemetry%20Schema.md
chargomehttps://github.com/chargome
Integration: prismaIssues related to Prisma support for the Sentry Node SDKhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Integration%3A%20prisma%22
Package: nodehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Package%3A%20node%22
on Sep 9, 2026https://github.com/getsentry/sentry-javascript/issues/24237#event-30822038582
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
on Sep 9, 2026https://github.com/getsentry/sentry-javascript/issues/24237#issuecomment-5600585604
Linear Codehttps://linear.app
JS-3639https://linear.app/getsentry/issue/JS-3639
chargomehttps://github.com/chargome
on Sep 9, 2026https://github.com/getsentry/sentry-javascript/issues/24237#event-30822043026
chargomehttps://github.com/chargome
on Sep 24, 2026https://github.com/getsentry/sentry-javascript/issues/24237#event-31744199363
test(e2e): Add node-prisma-8 test apphttps://github.com/getsentry/sentry-javascript/commit/0c1f8e00a06ca2709fc41c5e4e3552cbb409b1d6
0c1f8e0https://github.com/getsentry/sentry-javascript/commit/0c1f8e00a06ca2709fc41c5e4e3552cbb409b1d6
test(e2e): Add node-prisma-8 test apphttps://github.com/getsentry/sentry-javascript/commit/434f927a141082e29afef938a085929f19b11cdd
434f927https://github.com/getsentry/sentry-javascript/commit/434f927a141082e29afef938a085929f19b11cdd
test(e2e): Add node-prisma-8 test apphttps://github.com/getsentry/sentry-javascript/commit/6384c38973ba9d3bfd9843ce1215455544c63aae
6384c38https://github.com/getsentry/sentry-javascript/commit/6384c38973ba9d3bfd9843ce1215455544c63aae
test(e2e): Add node-prisma-8 test apphttps://github.com/getsentry/sentry-javascript/commit/99d253497f39b9da6e8d76ac80141b447b4debc9
99d2534https://github.com/getsentry/sentry-javascript/commit/99d253497f39b9da6e8d76ac80141b447b4debc9
test(e2e): Add node-prisma-8 test apphttps://github.com/getsentry/sentry-javascript/commit/eaec6e93d38eb79f43b4d8ac66b4d59a3dacfb34
eaec6e9https://github.com/getsentry/sentry-javascript/commit/eaec6e93d38eb79f43b4d8ac66b4d59a3dacfb34
chargomehttps://github.com/chargome
completedhttps://github.com/getsentry/sentry-javascript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#24682https://github.com/getsentry/sentry-javascript/pull/24682
on Sep 25, 2026https://github.com/getsentry/sentry-javascript/issues/24237#event-31840649844
chargomehttps://github.com/chargome
on Sep 25, 2026https://github.com/getsentry/sentry-javascript/issues/24237#event-31840655053
test(node): Add Prisma 8 integration test suite (#24681)https://github.com/getsentry/sentry-javascript/commit/6ec6e0df5328861abccbe012656bdcb05cc11bbd
#24681https://github.com/getsentry/sentry-javascript/pull/24681
6ec6e0dhttps://github.com/getsentry/sentry-javascript/commit/6ec6e0df5328861abccbe012656bdcb05cc11bbd
feat(node): Support Prisma 8 in `prismaIntegration` (#24682)https://github.com/getsentry/sentry-javascript/commit/aa128195e4e12e938e0381b1fb1c42792fd9edd1
#24682https://github.com/getsentry/sentry-javascript/pull/24682
aa12819https://github.com/getsentry/sentry-javascript/commit/aa128195e4e12e938e0381b1fb1c42792fd9edd1
test(e2e): Add node-prisma-8 test app (#24683)https://github.com/getsentry/sentry-javascript/commit/f660026f768a2ccff18ba088ae551953bc8aa9c6
#24683https://github.com/getsentry/sentry-javascript/pull/24683
f660026https://github.com/getsentry/sentry-javascript/commit/f660026f768a2ccff18ba088ae551953bc8aa9c6
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Sep 28, 2026https://github.com/getsentry/sentry-javascript/issues/24237#issuecomment-5872892981
GitHub Actionshttps://help.github.com/en/actions
#24682https://github.com/getsentry/sentry-javascript/pull/24682
11.1.0 releasehttps://github.com/getsentry/sentry-javascript/releases/tag/11.1.0
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-javascript/issues/24237
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/24237
chargomehttps://github.com/chargome
Integration: prismaIssues related to Prisma support for the Sentry Node SDKhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Integration%3A%20prisma%22
Package: nodehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Package%3A%20node%22
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.