Skip to content

Commit ae08913

Browse files
AbhiPrasadLuca Forstner
andauthored
feat: Add note that prisma is enabled by default (#13628)
Co-authored-by: Luca Forstner <[email protected]>
1 parent d7d2cec commit ae08913

File tree

13 files changed

+36
-32
lines changed

13 files changed

+36
-32
lines changed

docs/platforms/javascript/common/configuration/integrations/prisma.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,13 @@ Sentry supports tracing [Prisma ORM](https://www.prisma.io/) queries with the Pr
3636

3737
The Prisma Integrations creates a spans for each query and reports to Sentry with relevant details inside the`description` if available.
3838

39-
## Prisma Version 6
39+
This integration is enabled by default when using Prisma version 6 or higher.
40+
When using Prisma version 5 this integration requires additional setup, which you can read about below.
41+
If you'd like to learn how to modify your default integrations, visit the docs on <PlatformLink to="/configuration/integrations/#modifying-default-integrations">Modifying Default Integrations</PlatformLink>.
4042

41-
To use the integration with Prisma version 6, add the `prismaIntegration` to your Sentry initialization as follows:
43+
## Prisma Version >=6
44+
45+
To use the integration with Prisma version >=6, add the `prismaIntegration` to your Sentry initialization as follows:
4246

4347
```javascript {3}
4448
Sentry.init({

platform-includes/configuration/integrations/javascript.astro.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Depending on whether an integration enhances the functionality of a particular r
4040
| [`replayIntegration`](./replay) | | | |||
4141
| [`reportingObserverIntegration`](./reportingobserver) | || | | |
4242
| [`statsigIntegration`](./statsig) | | | | ||
43-
| [`supabaseIntegration`](./supabase) | ||| | |
43+
| [`supabaseIntegration`](./supabase) | ||| | |
4444
| [`unleashIntegration`](./unleash) | | | | ||
4545

4646
### Node.js Integrations
@@ -70,11 +70,11 @@ Depending on whether an integration enhances the functionality of a particular r
7070
| [`tediousIntegration`](./tedious) || || |
7171
| [`childProcessIntegration`](./childProcess) || | ||
7272
| [`dataloaderIntegration`](./dataloader) || || |
73+
| [`prismaIntegration`](./prisma) || || |
7374
| [`anrIntegration`](./anr) | || | |
7475
| [`extraErrorDataIntegration`](./extraerrordata) | | | ||
7576
| [`fsIntegration`](./fs) | | || |
7677
| [`knexIntegration`](./knex) | | || |
7778
| [`localVariablesIntegration`](./localvariables) | || | |
7879
| [`nodeProfilingIntegration`](./nodeprofiling) | | || |
79-
| [`prismaIntegration`](./prisma) | | || |
8080
| [`trpcMiddleware`](./trpc) | ||||

platform-includes/configuration/integrations/javascript.bun.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Integrations
22

33
| | **Auto Enabled** | **Errors** | **Tracing** | **Additional Context** |
4-
| --------------------------------------------------------- | :--------------: | :--------: | :---------: | :--------------------: |
4+
| --------------------------------------------------------- | :--------------: | :--------: | :---------: | :--------------------: | --- |
55
| [`amqplibIntegration`](./amqplib) || || |
66
| [`bunServerIntegration`](./bunserver) |||| |
77
| [`consoleIntegration`](./console) || | ||
@@ -28,11 +28,11 @@
2828
| [`redisIntegration`](./redis) || || |
2929
| [`requestDataIntegration`](./requestdata) || || |
3030
| [`tediousIntegration`](./tedious) || || |
31+
| [`prismaIntegration`](./prisma) || || |
3132
| [`captureConsoleIntegration`](./captureconsole) | | | ||
3233
| [`dataloaderIntegration`](./dataloader) | | || |
3334
| [`extraErrorDataIntegration`](./extraerrordata) | | | ||
3435
| [`knexIntegration`](./knex) | | || |
35-
| [`prismaIntegration`](./prisma) | | || |
3636
| [`rewriteFramesIntegration`](./rewriteframes) | || | |
37-
| [`supabaseIntegration`](./supabase) | ||| | |
37+
| [`supabaseIntegration`](./supabase) | ||| | |
3838
| [`trpcMiddleware`](./trpc) | ||||

platform-includes/configuration/integrations/javascript.connect.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
| [`requestDataIntegration`](./requestdata) || || |
3030
| [`tediousIntegration`](./tedious) || || |
3131
| [`childProcessIntegration`](./childProcess) || | ||
32+
| [`rewriteFramesIntegration`](./rewriteframes) ||| | |
3233
| [`anrIntegration`](./anr) | || | |
3334
| [`captureConsoleIntegration`](./captureconsole) | | | ||
3435
| [`dataloaderIntegration`](./dataloader) | | || |
@@ -38,5 +39,4 @@
3839
| [`localVariablesIntegration`](./localvariables) | || | |
3940
| [`nodeProfilingIntegration`](./nodeprofiling) | | || |
4041
| [`prismaIntegration`](./prisma) | | || |
41-
| [`rewriteFramesIntegration`](./rewriteframes) | || | |
4242
| [`trpcMiddleware`](./trpc) | ||||

platform-includes/configuration/integrations/javascript.fastify.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Integrations
22

33
| | **Auto Enabled** | **Errors** | **Tracing** | **Additional Context** |
4-
| --------------------------------------------------------- | :--------------: | :--------: | :---------: | :--------------------: |
4+
| --------------------------------------------------------- | :--------------: | :--------: | :---------: | :--------------------: | --- |
55
| [`amqplibIntegration`](./amqplib) || || |
66
| [`consoleIntegration`](./console) || | ||
77
| [`contextLinesIntegration`](./contextlines) ||| | |
@@ -29,6 +29,7 @@
2929
| [`requestDataIntegration`](./requestdata) || || |
3030
| [`tediousIntegration`](./tedious) || || |
3131
| [`childProcessIntegration`](./childProcess) || | ||
32+
| [`prismaIntegration`](./prisma) || || |
3233
| [`anrIntegration`](./anr) | || | |
3334
| [`captureConsoleIntegration`](./captureconsole) | | | ||
3435
| [`dataloaderIntegration`](./dataloader) | | || |
@@ -37,7 +38,6 @@
3738
| [`knexIntegration`](./knex) | | || |
3839
| [`localVariablesIntegration`](./localvariables) | || | |
3940
| [`nodeProfilingIntegration`](./nodeprofiling) | | || |
40-
| [`prismaIntegration`](./prisma) | | || |
4141
| [`rewriteFramesIntegration`](./rewriteframes) | || | |
42-
| [`supabaseIntegration`](./supabase) | ||| | |
43-
| [`trpcMiddleware`](./trpc) | ||||
42+
| [`supabaseIntegration`](./supabase) | ||| | |
43+
| [`trpcMiddleware`](./trpc) | ||||

platform-includes/configuration/integrations/javascript.hapi.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Integrations
22

33
| | **Auto Enabled** | **Errors** | **Tracing** | **Additional Context** |
4-
| --------------------------------------------------------- | :--------------: | :--------: | :---------: | :--------------------: |
4+
| --------------------------------------------------------- | :--------------: | :--------: | :---------: | :--------------------: | --- |
55
| [`amqplibIntegration`](./amqplib) || || |
66
| [`consoleIntegration`](./console) || | ||
77
| [`contextLinesIntegration`](./contextlines) ||| | |
@@ -29,6 +29,7 @@
2929
| [`requestDataIntegration`](./requestdata) || || |
3030
| [`tediousIntegration`](./tedious) || || |
3131
| [`childProcessIntegration`](./childProcess) || | ||
32+
| [`prismaIntegration`](./prisma) || || |
3233
| [`anrIntegration`](./anr) | || | |
3334
| [`captureConsoleIntegration`](./captureconsole) | | | ||
3435
| [`dataloaderIntegration`](./dataloader) | | || |
@@ -37,7 +38,6 @@
3738
| [`knexIntegration`](./knex) | | || |
3839
| [`localVariablesIntegration`](./localvariables) | || | |
3940
| [`nodeProfilingIntegration`](./nodeprofiling) | | || |
40-
| [`prismaIntegration`](./prisma) | | || |
4141
| [`rewriteFramesIntegration`](./rewriteframes) | || | |
42-
| [`supabaseIntegration`](./supabase) | ||| | |
42+
| [`supabaseIntegration`](./supabase) | ||| | |
4343
| [`trpcMiddleware`](./trpc) | ||||

platform-includes/configuration/integrations/javascript.nestjs.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Integrations
22

33
| | **Auto Enabled** | **Errors** | **Tracing** | **Additional Context** |
4-
| --------------------------------------------------------- | :--------------: | :--------: | :---------: | :--------------------: |
4+
| --------------------------------------------------------- | :--------------: | :--------: | :---------: | :--------------------: | --- |
55
| [`amqplibIntegration`](./amqplib) || || |
66
| [`consoleIntegration`](./console) || | ||
77
| [`contextLinesIntegration`](./contextlines) ||| | |
@@ -29,6 +29,7 @@
2929
| [`requestDataIntegration`](./requestdata) || || |
3030
| [`tediousIntegration`](./tedious) || || |
3131
| [`childProcessIntegration`](./childProcess) || | ||
32+
| [`prismaIntegration`](./prisma) || || |
3233
| [`anrIntegration`](./anr) | || | |
3334
| [`captureConsoleIntegration`](./captureconsole) | | | ||
3435
| [`dataloaderIntegration`](./dataloader) | | || |
@@ -37,8 +38,7 @@
3738
| [`knexIntegration`](./knex) | | || |
3839
| [`localVariablesIntegration`](./localvariables) | || | |
3940
| [`nodeProfilingIntegration`](./nodeprofiling) | | || |
40-
| [`prismaIntegration`](./prisma) | | || |
4141
| [`rewriteFramesIntegration`](./rewriteframes) | || | |
42-
| [`supabaseIntegration`](./supabase) | ||| | |
42+
| [`supabaseIntegration`](./supabase) | ||| | |
4343
| [`trpcMiddleware`](./trpc) | ||||
44-
| [`unleashIntegration`](./unleash) | | | | | |
44+
| [`unleashIntegration`](./unleash) | | | | | |

platform-includes/configuration/integrations/javascript.nextjs.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Depending on whether an integration enhances the functionality of a particular r
4040
| [`replayIntegration`](./replay) | | | |||
4141
| [`reportingObserverIntegration`](./reportingobserver) | || | | |
4242
| [`statsigIntegration`](./statsig) | | | | ||
43-
| [`supabaseIntegration`](./supabase) | ||| | |
43+
| [`supabaseIntegration`](./supabase) | ||| | |
4444
| [`unleashIntegration`](./unleash) | | | | ||
4545

4646
### Server (Node.js, Edge) Integrations
@@ -76,13 +76,13 @@ Depending on whether an integration enhances the functionality of a particular r
7676
| [`tediousIntegration`](./tedious) || || |
7777
| [`dataloaderIntegration`](./dataloader) || || |
7878
| [`childProcessIntegration`](./childProcess) || | ||
79+
| [`prismaIntegration`](./prisma) || || |
7980
| [`anrIntegration`](./anr) | || | |
8081
| [`extraErrorDataIntegration`](./extraerrordata) | | | ||
8182
| [`fsIntegration`](./fs) | | || |
8283
| [`knexIntegration`](./knex) | | || |
8384
| [`localVariablesIntegration`](./localvariables) | || | |
8485
| [`nodeProfilingIntegration`](./nodeprofiling) | | || |
85-
| [`prismaIntegration`](./prisma) | | || |
8686
| [`trpcMiddleware`](./trpc) | ||||
8787

8888
### Edge Integrations

0 commit comments

Comments
 (0)