From e4bf1ed93b9ade6db373e185bd44d4deae02c62d Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Wed, 7 May 2025 14:15:40 -0400 Subject: [PATCH 1/4] feat: Add note that prisma is enabled by default --- .../common/configuration/integrations/prisma__v8.x.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/platforms/javascript/common/configuration/integrations/prisma__v8.x.mdx b/docs/platforms/javascript/common/configuration/integrations/prisma__v8.x.mdx index 0a7c305475b369..9295dc19465635 100644 --- a/docs/platforms/javascript/common/configuration/integrations/prisma__v8.x.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/prisma__v8.x.mdx @@ -32,6 +32,8 @@ This integration only works in the Node.js and Bun runtimes. _Import name: `Sentry.prismaIntegration`_ +This integration is enabled by default when performance monitoring is enabled for Prisma version 6. If you'd like to modify your default integrations, read [this](./../#modifying-default-integrations). + Sentry supports tracing [Prisma ORM](https://www.prisma.io/) queries with the Prisma integration. The Prisma Integrations creates a spans for each query and reports to Sentry with relevant details inside `description` if available. From c3cf08b1747ad7fca5641e31d5ba24ccf3285f07 Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Wed, 7 May 2025 14:17:06 -0400 Subject: [PATCH 2/4] add to integrations page --- .../configuration/integrations/javascript.nextjs.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform-includes/configuration/integrations/javascript.nextjs.mdx b/platform-includes/configuration/integrations/javascript.nextjs.mdx index ef2389b7976d01..a598577589cec2 100644 --- a/platform-includes/configuration/integrations/javascript.nextjs.mdx +++ b/platform-includes/configuration/integrations/javascript.nextjs.mdx @@ -40,7 +40,7 @@ Depending on whether an integration enhances the functionality of a particular r | [`replayIntegration`](./replay) | | | | ✓ | ✓ | | [`reportingObserverIntegration`](./reportingobserver) | | ✓ | | | | | [`statsigIntegration`](./statsig) | | | | | ✓ | -| [`supabaseIntegration`](./supabase) | | ✓ | ✓ | | | +| [`supabaseIntegration`](./supabase) | | ✓ | ✓ | | | | [`unleashIntegration`](./unleash) | | | | | ✓ | ### Server (Node.js, Edge) Integrations @@ -75,6 +75,7 @@ Depending on whether an integration enhances the functionality of a particular r | [`requestDataIntegration`](./requestdata) | ✓ | | ✓ | | | [`tediousIntegration`](./tedious) | ✓ | | ✓ | | | [`dataloaderIntegration`](./dataloader) | ✓ | | ✓ | | +| [`prismaIntegration`](./prisma) | ✓ | | ✓ | | | [`childProcessIntegration`](./childProcess) | ✓ | | | ✓ | | [`anrIntegration`](./anr) | | ✓ | | | | [`extraErrorDataIntegration`](./extraerrordata) | | | | ✓ | @@ -82,7 +83,6 @@ Depending on whether an integration enhances the functionality of a particular r | [`knexIntegration`](./knex) | | | ✓ | | | [`localVariablesIntegration`](./localvariables) | | ✓ | | | | [`nodeProfilingIntegration`](./nodeprofiling) | | | ✓ | | -| [`prismaIntegration`](./prisma) | | | ✓ | | | [`trpcMiddleware`](./trpc) | | ✓ | ✓ | ✓ | ### Edge Integrations From a8419e931b946aafb023ca0d1ecd4c0e5cb4a735 Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Wed, 7 May 2025 14:18:44 -0400 Subject: [PATCH 3/4] rest of integration pages --- .../configuration/integrations/javascript.astro.mdx | 4 ++-- .../configuration/integrations/javascript.bun.mdx | 6 +++--- .../configuration/integrations/javascript.connect.mdx | 2 +- .../configuration/integrations/javascript.fastify.mdx | 8 ++++---- .../configuration/integrations/javascript.hapi.mdx | 6 +++--- .../configuration/integrations/javascript.nestjs.mdx | 8 ++++---- .../configuration/integrations/javascript.nextjs.mdx | 2 +- .../configuration/integrations/javascript.node.mdx | 4 ++-- .../configuration/integrations/javascript.nuxt.mdx | 4 ++-- .../configuration/integrations/javascript.remix.mdx | 4 ++-- .../configuration/integrations/javascript.solidstart.mdx | 4 ++-- .../configuration/integrations/javascript.sveltekit.mdx | 6 +++--- 12 files changed, 29 insertions(+), 29 deletions(-) diff --git a/platform-includes/configuration/integrations/javascript.astro.mdx b/platform-includes/configuration/integrations/javascript.astro.mdx index 6c0571de729c9b..a15dead912cb15 100644 --- a/platform-includes/configuration/integrations/javascript.astro.mdx +++ b/platform-includes/configuration/integrations/javascript.astro.mdx @@ -40,7 +40,7 @@ Depending on whether an integration enhances the functionality of a particular r | [`replayIntegration`](./replay) | | | | ✓ | ✓ | | [`reportingObserverIntegration`](./reportingobserver) | | ✓ | | | | | [`statsigIntegration`](./statsig) | | | | | ✓ | -| [`supabaseIntegration`](./supabase) | | ✓ | ✓ | | | +| [`supabaseIntegration`](./supabase) | | ✓ | ✓ | | | | [`unleashIntegration`](./unleash) | | | | | ✓ | ### Node.js Integrations @@ -70,11 +70,11 @@ Depending on whether an integration enhances the functionality of a particular r | [`tediousIntegration`](./tedious) | ✓ | | ✓ | | | [`childProcessIntegration`](./childProcess) | ✓ | | | ✓ | | [`dataloaderIntegration`](./dataloader) | ✓ | | ✓ | | +| [`prismaIntegration`](./prisma) | ✓ | | ✓ | | | [`anrIntegration`](./anr) | | ✓ | | | | [`extraErrorDataIntegration`](./extraerrordata) | | | | ✓ | | [`fsIntegration`](./fs) | | | ✓ | | | [`knexIntegration`](./knex) | | | ✓ | | | [`localVariablesIntegration`](./localvariables) | | ✓ | | | | [`nodeProfilingIntegration`](./nodeprofiling) | | | ✓ | | -| [`prismaIntegration`](./prisma) | | | ✓ | | | [`trpcMiddleware`](./trpc) | | ✓ | ✓ | ✓ | diff --git a/platform-includes/configuration/integrations/javascript.bun.mdx b/platform-includes/configuration/integrations/javascript.bun.mdx index efb5c1249e4533..a5929a78d1d4ac 100644 --- a/platform-includes/configuration/integrations/javascript.bun.mdx +++ b/platform-includes/configuration/integrations/javascript.bun.mdx @@ -1,7 +1,7 @@ ### Integrations | | **Auto Enabled** | **Errors** | **Tracing** | **Additional Context** | -| --------------------------------------------------------- | :--------------: | :--------: | :---------: | :--------------------: | +| --------------------------------------------------------- | :--------------: | :--------: | :---------: | :--------------------: | --- | | [`amqplibIntegration`](./amqplib) | ✓ | | ✓ | | | [`bunServerIntegration`](./bunserver) | ✓ | ✓ | ✓ | | | [`consoleIntegration`](./console) | ✓ | | | ✓ | @@ -28,11 +28,11 @@ | [`redisIntegration`](./redis) | ✓ | | ✓ | | | [`requestDataIntegration`](./requestdata) | ✓ | | ✓ | | | [`tediousIntegration`](./tedious) | ✓ | | ✓ | | +| [`prismaIntegration`](./prisma) | ✓ | | ✓ | | | [`captureConsoleIntegration`](./captureconsole) | | | | ✓ | | [`dataloaderIntegration`](./dataloader) | | | ✓ | | | [`extraErrorDataIntegration`](./extraerrordata) | | | | ✓ | | [`knexIntegration`](./knex) | | | ✓ | | -| [`prismaIntegration`](./prisma) | | | ✓ | | | [`rewriteFramesIntegration`](./rewriteframes) | | ✓ | | | -| [`supabaseIntegration`](./supabase) | | ✓ | ✓ | | | +| [`supabaseIntegration`](./supabase) | | ✓ | ✓ | | | | [`trpcMiddleware`](./trpc) | | ✓ | ✓ | ✓ | diff --git a/platform-includes/configuration/integrations/javascript.connect.mdx b/platform-includes/configuration/integrations/javascript.connect.mdx index 1943394bdb7a14..3e9acc8dad1aff 100644 --- a/platform-includes/configuration/integrations/javascript.connect.mdx +++ b/platform-includes/configuration/integrations/javascript.connect.mdx @@ -29,6 +29,7 @@ | [`requestDataIntegration`](./requestdata) | ✓ | | ✓ | | | [`tediousIntegration`](./tedious) | ✓ | | ✓ | | | [`childProcessIntegration`](./childProcess) | ✓ | | | ✓ | +| [`rewriteFramesIntegration`](./rewriteframes) | ✓ | ✓ | | | | [`anrIntegration`](./anr) | | ✓ | | | | [`captureConsoleIntegration`](./captureconsole) | | | | ✓ | | [`dataloaderIntegration`](./dataloader) | | | ✓ | | @@ -38,5 +39,4 @@ | [`localVariablesIntegration`](./localvariables) | | ✓ | | | | [`nodeProfilingIntegration`](./nodeprofiling) | | | ✓ | | | [`prismaIntegration`](./prisma) | | | ✓ | | -| [`rewriteFramesIntegration`](./rewriteframes) | | ✓ | | | | [`trpcMiddleware`](./trpc) | | ✓ | ✓ | ✓ | diff --git a/platform-includes/configuration/integrations/javascript.fastify.mdx b/platform-includes/configuration/integrations/javascript.fastify.mdx index 32c127738c2d4f..a93952bb47714d 100644 --- a/platform-includes/configuration/integrations/javascript.fastify.mdx +++ b/platform-includes/configuration/integrations/javascript.fastify.mdx @@ -1,7 +1,7 @@ ### Integrations | | **Auto Enabled** | **Errors** | **Tracing** | **Additional Context** | -| --------------------------------------------------------- | :--------------: | :--------: | :---------: | :--------------------: | +| --------------------------------------------------------- | :--------------: | :--------: | :---------: | :--------------------: | --- | | [`amqplibIntegration`](./amqplib) | ✓ | | ✓ | | | [`consoleIntegration`](./console) | ✓ | | | ✓ | | [`contextLinesIntegration`](./contextlines) | ✓ | ✓ | | | @@ -29,6 +29,7 @@ | [`requestDataIntegration`](./requestdata) | ✓ | | ✓ | | | [`tediousIntegration`](./tedious) | ✓ | | ✓ | | | [`childProcessIntegration`](./childProcess) | ✓ | | | ✓ | +| [`prismaIntegration`](./prisma) | ✓ | | ✓ | | | [`anrIntegration`](./anr) | | ✓ | | | | [`captureConsoleIntegration`](./captureconsole) | | | | ✓ | | [`dataloaderIntegration`](./dataloader) | | | ✓ | | @@ -37,7 +38,6 @@ | [`knexIntegration`](./knex) | | | ✓ | | | [`localVariablesIntegration`](./localvariables) | | ✓ | | | | [`nodeProfilingIntegration`](./nodeprofiling) | | | ✓ | | -| [`prismaIntegration`](./prisma) | | | ✓ | | | [`rewriteFramesIntegration`](./rewriteframes) | | ✓ | | | -| [`supabaseIntegration`](./supabase) | | ✓ | ✓ | | | -| [`trpcMiddleware`](./trpc) | | ✓ | ✓ | ✓ | \ No newline at end of file +| [`supabaseIntegration`](./supabase) | | ✓ | ✓ | | | +| [`trpcMiddleware`](./trpc) | | ✓ | ✓ | ✓ | diff --git a/platform-includes/configuration/integrations/javascript.hapi.mdx b/platform-includes/configuration/integrations/javascript.hapi.mdx index 8f1a6e1ceff604..c9dfabda1864e9 100644 --- a/platform-includes/configuration/integrations/javascript.hapi.mdx +++ b/platform-includes/configuration/integrations/javascript.hapi.mdx @@ -1,7 +1,7 @@ ### Integrations | | **Auto Enabled** | **Errors** | **Tracing** | **Additional Context** | -| --------------------------------------------------------- | :--------------: | :--------: | :---------: | :--------------------: | +| --------------------------------------------------------- | :--------------: | :--------: | :---------: | :--------------------: | --- | | [`amqplibIntegration`](./amqplib) | ✓ | | ✓ | | | [`consoleIntegration`](./console) | ✓ | | | ✓ | | [`contextLinesIntegration`](./contextlines) | ✓ | ✓ | | | @@ -29,6 +29,7 @@ | [`requestDataIntegration`](./requestdata) | ✓ | | ✓ | | | [`tediousIntegration`](./tedious) | ✓ | | ✓ | | | [`childProcessIntegration`](./childProcess) | ✓ | | | ✓ | +| [`prismaIntegration`](./prisma) | ✓ | | ✓ | | | [`anrIntegration`](./anr) | | ✓ | | | | [`captureConsoleIntegration`](./captureconsole) | | | | ✓ | | [`dataloaderIntegration`](./dataloader) | | | ✓ | | @@ -37,7 +38,6 @@ | [`knexIntegration`](./knex) | | | ✓ | | | [`localVariablesIntegration`](./localvariables) | | ✓ | | | | [`nodeProfilingIntegration`](./nodeprofiling) | | | ✓ | | -| [`prismaIntegration`](./prisma) | | | ✓ | | | [`rewriteFramesIntegration`](./rewriteframes) | | ✓ | | | -| [`supabaseIntegration`](./supabase) | | ✓ | ✓ | | | +| [`supabaseIntegration`](./supabase) | | ✓ | ✓ | | | | [`trpcMiddleware`](./trpc) | | ✓ | ✓ | ✓ | diff --git a/platform-includes/configuration/integrations/javascript.nestjs.mdx b/platform-includes/configuration/integrations/javascript.nestjs.mdx index 9d2e65ad6b4022..edf6e7528fbd93 100644 --- a/platform-includes/configuration/integrations/javascript.nestjs.mdx +++ b/platform-includes/configuration/integrations/javascript.nestjs.mdx @@ -1,7 +1,7 @@ ### Integrations | | **Auto Enabled** | **Errors** | **Tracing** | **Additional Context** | -| --------------------------------------------------------- | :--------------: | :--------: | :---------: | :--------------------: | +| --------------------------------------------------------- | :--------------: | :--------: | :---------: | :--------------------: | --- | | [`amqplibIntegration`](./amqplib) | ✓ | | ✓ | | | [`consoleIntegration`](./console) | ✓ | | | ✓ | | [`contextLinesIntegration`](./contextlines) | ✓ | ✓ | | | @@ -29,6 +29,7 @@ | [`requestDataIntegration`](./requestdata) | ✓ | | ✓ | | | [`tediousIntegration`](./tedious) | ✓ | | ✓ | | | [`childProcessIntegration`](./childProcess) | ✓ | | | ✓ | +| [`prismaIntegration`](./prisma) | ✓ | | ✓ | | | [`anrIntegration`](./anr) | | ✓ | | | | [`captureConsoleIntegration`](./captureconsole) | | | | ✓ | | [`dataloaderIntegration`](./dataloader) | | | ✓ | | @@ -37,8 +38,7 @@ | [`knexIntegration`](./knex) | | | ✓ | | | [`localVariablesIntegration`](./localvariables) | | ✓ | | | | [`nodeProfilingIntegration`](./nodeprofiling) | | | ✓ | | -| [`prismaIntegration`](./prisma) | | | ✓ | | | [`rewriteFramesIntegration`](./rewriteframes) | | ✓ | | | -| [`supabaseIntegration`](./supabase) | | ✓ | ✓ | | | +| [`supabaseIntegration`](./supabase) | | ✓ | ✓ | | | | [`trpcMiddleware`](./trpc) | | ✓ | ✓ | ✓ | -| [`unleashIntegration`](./unleash) | | | | | ✓ | \ No newline at end of file +| [`unleashIntegration`](./unleash) | | | | | ✓ | diff --git a/platform-includes/configuration/integrations/javascript.nextjs.mdx b/platform-includes/configuration/integrations/javascript.nextjs.mdx index a598577589cec2..a634254835f78b 100644 --- a/platform-includes/configuration/integrations/javascript.nextjs.mdx +++ b/platform-includes/configuration/integrations/javascript.nextjs.mdx @@ -75,8 +75,8 @@ Depending on whether an integration enhances the functionality of a particular r | [`requestDataIntegration`](./requestdata) | ✓ | | ✓ | | | [`tediousIntegration`](./tedious) | ✓ | | ✓ | | | [`dataloaderIntegration`](./dataloader) | ✓ | | ✓ | | -| [`prismaIntegration`](./prisma) | ✓ | | ✓ | | | [`childProcessIntegration`](./childProcess) | ✓ | | | ✓ | +| [`prismaIntegration`](./prisma) | ✓ | | ✓ | | | [`anrIntegration`](./anr) | | ✓ | | | | [`extraErrorDataIntegration`](./extraerrordata) | | | | ✓ | | [`fsIntegration`](./fs) | | | ✓ | | diff --git a/platform-includes/configuration/integrations/javascript.node.mdx b/platform-includes/configuration/integrations/javascript.node.mdx index eedb95571e9486..402ad2f10efea5 100644 --- a/platform-includes/configuration/integrations/javascript.node.mdx +++ b/platform-includes/configuration/integrations/javascript.node.mdx @@ -33,10 +33,10 @@ | [`onUncaughtExceptionIntegration`](./onuncaughtexception) | ✓ | ✓ | | | | [`onUnhandledRejectionIntegration`](./unhandledrejection) | ✓ | ✓ | | | | [`postgresIntegration`](./postgres) | ✓ | | ✓ | | -| [`prismaIntegration`](./prisma) | | | ✓ | | +| [`prismaIntegration`](./prisma) | ✓ | | ✓ | | | [`redisIntegration`](./redis) | ✓ | | ✓ | | | [`requestDataIntegration`](./requestdata) | ✓ | | ✓ | | | [`rewriteFramesIntegration`](./rewriteframes) | | ✓ | | | -| [`supabaseIntegration`](./supabase) | | ✓ | ✓ | | +| [`supabaseIntegration`](./supabase) | | ✓ | ✓ | | | [`tediousIntegration`](./tedious) | ✓ | | ✓ | | | [`trpcMiddleware`](./trpc) | | ✓ | ✓ | ✓ | diff --git a/platform-includes/configuration/integrations/javascript.nuxt.mdx b/platform-includes/configuration/integrations/javascript.nuxt.mdx index cf6c561eb07395..a34e55b9d685d3 100644 --- a/platform-includes/configuration/integrations/javascript.nuxt.mdx +++ b/platform-includes/configuration/integrations/javascript.nuxt.mdx @@ -39,7 +39,7 @@ Depending on whether an integration enhances the functionality of a particular r | [`replayIntegration`](./replay) | | | | ✓ | ✓ | | [`reportingObserverIntegration`](./reportingobserver) | | ✓ | | | | | [`statsigIntegration`](./statsig) | | | | | ✓ | -| [`supabaseIntegration`](./supabase) | | ✓ | ✓ | | | +| [`supabaseIntegration`](./supabase) | | ✓ | ✓ | | | | [`unleashIntegration`](./unleash) | | | | | ✓ | ### Node.js Integrations @@ -69,11 +69,11 @@ Depending on whether an integration enhances the functionality of a particular r | [`tediousIntegration`](./tedious) | ✓ | | ✓ | | | [`dataloaderIntegration`](./dataloader) | ✓ | | ✓ | | | [`childProcessIntegration`](./childProcess) | ✓ | | | ✓ | +| [`prismaIntegration`](./prisma) | ✓ | | ✓ | | | [`anrIntegration`](./anr) | | ✓ | | | | [`extraErrorDataIntegration`](./extraerrordata) | | | | ✓ | | [`fsIntegration`](./fs) | | | ✓ | | | [`knexIntegration`](./knex) | | | ✓ | | | [`localVariablesIntegration`](./localvariables) | | ✓ | | | | [`nodeProfilingIntegration`](./nodeprofiling) | | | ✓ | | -| [`prismaIntegration`](./prisma) | | | ✓ | | | [`trpcMiddleware`](./trpc) | | ✓ | ✓ | ✓ | diff --git a/platform-includes/configuration/integrations/javascript.remix.mdx b/platform-includes/configuration/integrations/javascript.remix.mdx index 3983129e3df348..69d4792c45f8f8 100644 --- a/platform-includes/configuration/integrations/javascript.remix.mdx +++ b/platform-includes/configuration/integrations/javascript.remix.mdx @@ -39,7 +39,7 @@ Depending on whether an integration enhances the functionality of a particular r | [`replayIntegration`](./replay) | | | | ✓ | ✓ | | [`reportingObserverIntegration`](./reportingobserver) | | ✓ | | | | | [`statsigIntegration`](./statsig) | | | | | ✓ | -| [`supabaseIntegration`](./supabase) | | ✓ | ✓ | | | +| [`supabaseIntegration`](./supabase) | | ✓ | ✓ | | | | [`unleashIntegration`](./unleash) | | | | | ✓ | ### Node.js Integrations @@ -69,11 +69,11 @@ Depending on whether an integration enhances the functionality of a particular r | [`tediousIntegration`](./tedious) | ✓ | | ✓ | | | [`dataloaderIntegration`](./dataloader) | ✓ | | ✓ | | | [`childProcessIntegration`](./childProcess) | ✓ | | | ✓ | +| [`prismaIntegration`](./prisma) | ✓ | | ✓ | | | [`anrIntegration`](./anr) | | ✓ | | | | [`extraErrorDataIntegration`](./extraerrordata) | | | | ✓ | | [`fsIntegration`](./fs) | | | ✓ | | | [`knexIntegration`](./knex) | | | ✓ | | | [`localVariablesIntegration`](./localvariables) | | ✓ | | | | [`nodeProfilingIntegration`](./nodeprofiling) | | | ✓ | | -| [`prismaIntegration`](./prisma) | | | ✓ | | | [`trpcMiddleware`](./trpc) | | ✓ | ✓ | ✓ | diff --git a/platform-includes/configuration/integrations/javascript.solidstart.mdx b/platform-includes/configuration/integrations/javascript.solidstart.mdx index e37696a04c53d2..f15bc4aa6f81fe 100644 --- a/platform-includes/configuration/integrations/javascript.solidstart.mdx +++ b/platform-includes/configuration/integrations/javascript.solidstart.mdx @@ -39,7 +39,7 @@ Depending on whether an integration enhances the functionality of a particular r | [`replayIntegration`](./replay) | | | | ✓ | ✓ | | [`reportingObserverIntegration`](./reportingobserver) | | ✓ | | | | | [`statsigIntegration`](./statsig) | | | | | ✓ | -| [`supabaseIntegration`](./supabase) | | ✓ | ✓ | | | +| [`supabaseIntegration`](./supabase) | | ✓ | ✓ | | | | [`unleashIntegration`](./unleash) | | | | | ✓ | ### Node.js Integrations @@ -69,11 +69,11 @@ Depending on whether an integration enhances the functionality of a particular r | [`tediousIntegration`](./tedious) | ✓ | | ✓ | | | [`dataloaderIntegration`](./dataloader) | ✓ | | ✓ | | | [`childProcessIntegration`](./childProcess) | ✓ | | | ✓ | +| [`prismaIntegration`](./prisma) | ✓ | | ✓ | | | [`anrIntegration`](./anr) | | ✓ | | | | [`extraErrorDataIntegration`](./extraerrordata) | | | | ✓ | | [`fsIntegration`](./fs) | | | ✓ | | | [`knexIntegration`](./knex) | | | ✓ | | | [`localVariablesIntegration`](./localvariables) | | ✓ | | | | [`nodeProfilingIntegration`](./nodeprofiling) | | | ✓ | | -| [`prismaIntegration`](./prisma) | | | ✓ | | | [`trpcMiddleware`](./trpc) | | ✓ | ✓ | ✓ | diff --git a/platform-includes/configuration/integrations/javascript.sveltekit.mdx b/platform-includes/configuration/integrations/javascript.sveltekit.mdx index e76bbc4544c319..d2a2d30ea5024e 100644 --- a/platform-includes/configuration/integrations/javascript.sveltekit.mdx +++ b/platform-includes/configuration/integrations/javascript.sveltekit.mdx @@ -44,7 +44,7 @@ Depending on whether an integration enhances the functionality of a particular r ### Node.js Integrations | | **Auto Enabled** | **Errors** | **Tracing** | **Additional Context** | -| --------------------------------------------------------- | :--------------: | :--------: | :---------: | :--------------------: | +| --------------------------------------------------------- | :--------------: | :--------: | :---------: | :--------------------: | --- | | [`amqplibIntegration`](./amqplib) | ✓ | | ✓ | | | [`consoleIntegration`](./console) | ✓ | | | ✓ | | [`contextLinesIntegration`](./contextlines) | ✓ | ✓ | | | @@ -68,12 +68,12 @@ Depending on whether an integration enhances the functionality of a particular r | [`tediousIntegration`](./tedious) | ✓ | | ✓ | | | [`childProcessIntegration`](./childProcess) | ✓ | | | ✓ | | [`dataloaderIntegration`](./dataloader) | ✓ | | ✓ | | +| [`prismaIntegration`](./prisma) | ✓ | | ✓ | | | [`anrIntegration`](./anr) | | ✓ | | | | [`extraErrorDataIntegration`](./extraerrordata) | | | | ✓ | | [`fsIntegration`](./fs) | | | ✓ | | | [`knexIntegration`](./knex) | | | ✓ | | | [`localVariablesIntegration`](./localvariables) | | ✓ | | | | [`nodeProfilingIntegration`](./nodeprofiling) | | | ✓ | | -| [`prismaIntegration`](./prisma) | | | ✓ | | -| [`supabaseIntegration`](./supabase) | | ✓ | ✓ | | | +| [`supabaseIntegration`](./supabase) | | ✓ | ✓ | | | | [`trpcMiddleware`](./trpc) | | ✓ | ✓ | ✓ | From ea58f2433fa969b2d4c39aa2dc67964b1d497380 Mon Sep 17 00:00:00 2001 From: Luca Forstner Date: Thu, 8 May 2025 10:09:01 +0200 Subject: [PATCH 4/4] fix stuff --- .../common/configuration/integrations/prisma.mdx | 8 ++++++-- .../common/configuration/integrations/prisma__v8.x.mdx | 2 -- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/platforms/javascript/common/configuration/integrations/prisma.mdx b/docs/platforms/javascript/common/configuration/integrations/prisma.mdx index 6fdf9943ddfd4b..5c68440510aa16 100644 --- a/docs/platforms/javascript/common/configuration/integrations/prisma.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/prisma.mdx @@ -36,9 +36,13 @@ Sentry supports tracing [Prisma ORM](https://www.prisma.io/) queries with the Pr The Prisma Integrations creates a spans for each query and reports to Sentry with relevant details inside the`description` if available. -## Prisma Version 6 +This integration is enabled by default when using Prisma version 6 or higher. +When using Prisma version 5 this integration requires additional setup, which you can read about below. +If you'd like to learn how to modify your default integrations, visit the docs on Modifying Default Integrations. -To use the integration with Prisma version 6, add the `prismaIntegration` to your Sentry initialization as follows: +## Prisma Version >=6 + +To use the integration with Prisma version >=6, add the `prismaIntegration` to your Sentry initialization as follows: ```javascript {3} Sentry.init({ diff --git a/docs/platforms/javascript/common/configuration/integrations/prisma__v8.x.mdx b/docs/platforms/javascript/common/configuration/integrations/prisma__v8.x.mdx index 9295dc19465635..0a7c305475b369 100644 --- a/docs/platforms/javascript/common/configuration/integrations/prisma__v8.x.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/prisma__v8.x.mdx @@ -32,8 +32,6 @@ This integration only works in the Node.js and Bun runtimes. _Import name: `Sentry.prismaIntegration`_ -This integration is enabled by default when performance monitoring is enabled for Prisma version 6. If you'd like to modify your default integrations, read [this](./../#modifying-default-integrations). - Sentry supports tracing [Prisma ORM](https://www.prisma.io/) queries with the Prisma integration. The Prisma Integrations creates a spans for each query and reports to Sentry with relevant details inside `description` if available.