You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sentry supports tracing [Prisma ORM](https://www.prisma.io/) queries with the Prisma integration.
34
34
35
-
The Prisma Integrations creates a spans for each query and reports to Sentry with relevant details inside `description` if available.
35
+
The Prisma Integrations creates a spans for each query and reports to Sentry with relevant details inside the`description` if available.
36
36
37
37
## Prisma Version 6
38
38
39
-
The Sentry Prisma Integration comes with Prisma version 5 support by default. For Prisma version 6 compatibility we need to pass a specific version of the Prisma instrumentation to the Sentry Prisma integration.
40
-
41
-
To use the integration with Prisma version 6, first install the `@prisma/instrumentation` package on version 6 (ideally the exact same version as your `prisma` and `@prisma/client` packages).
42
-
43
-
Then, add the `prismaIntegration` to your Sentry initialization as follows:
Then, add the `prismaIntegration` to your Sentry initialization as follows:
59
+
For Prisma version 5 compatibility you must pass a specific version of the Prisma instrumentation to the Sentry Prisma integration. Add the `prismaIntegration` to your Sentry initialization as follows:
noindex: true # Not indexed because it is a versioned docs page
5
+
supported:
6
+
- javascript.node
7
+
- javascript.aws-lambda
8
+
- javascript.azure-functions
9
+
- javascript.connect
10
+
- javascript.express
11
+
- javascript.fastify
12
+
- javascript.gcp-functions
13
+
- javascript.hapi
14
+
- javascript.koa
15
+
- javascript.nestjs
16
+
- javascript.nextjs
17
+
- javascript.nuxt
18
+
- javascript.solidstart
19
+
- javascript.sveltekit
20
+
- javascript.remix
21
+
- javascript.react-router
22
+
- javascript.astro
23
+
- javascript.bun
24
+
---
25
+
26
+
<Alert>
27
+
28
+
This integration only works in the Node.js and Bun runtimes.
29
+
30
+
</Alert>
31
+
32
+
_Import name: `Sentry.prismaIntegration`_
33
+
34
+
Sentry supports tracing [Prisma ORM](https://www.prisma.io/) queries with the Prisma integration.
35
+
36
+
The Prisma Integrations creates a spans for each query and reports to Sentry with relevant details inside `description` if available.
37
+
38
+
## Prisma Version 6
39
+
40
+
The Sentry Prisma Integration comes with Prisma version 5 support by default. For Prisma version 6 compatibility we need to pass a specific version of the Prisma instrumentation to the Sentry Prisma integration.
41
+
42
+
To use the integration with Prisma version 6, first install the `@prisma/instrumentation` package on version 6 (ideally the exact same version as your `prisma` and `@prisma/client` packages).
43
+
44
+
Then, add the `prismaIntegration` to your Sentry initialization as follows:
0 commit comments