diff --git a/docs/platforms/javascript/common/configuration/integrations/prisma.mdx b/docs/platforms/javascript/common/configuration/integrations/prisma.mdx index 6fdf9943ddfd4..5c68440510aa1 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/platform-includes/configuration/integrations/javascript.astro.mdx b/platform-includes/configuration/integrations/javascript.astro.mdx index 6c0571de729c9..a15dead912cb1 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 efb5c1249e453..a5929a78d1d4a 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 1943394bdb7a1..3e9acc8dad1af 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 32c127738c2d4..a93952bb47714 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 8f1a6e1ceff60..c9dfabda1864e 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 9d2e65ad6b402..edf6e7528fbd9 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 ef2389b7976d0..a634254835f78 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 @@ -76,13 +76,13 @@ 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) | | ✓ | ✓ | ✓ | ### Edge Integrations diff --git a/platform-includes/configuration/integrations/javascript.node.mdx b/platform-includes/configuration/integrations/javascript.node.mdx index eedb95571e948..402ad2f10efea 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 cf6c561eb0739..a34e55b9d685d 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 3983129e3df34..69d4792c45f8f 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 e37696a04c53d..f15bc4aa6f81f 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 e76bbc4544c31..d2a2d30ea5024 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) | | ✓ | ✓ | ✓ |