File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 21
21
"@auth/prisma-adapter" : " ^2.7.4" ,
22
22
"@google-cloud/storage" : " ^7.7.0" ,
23
23
"@prisma/client" : " ^5.8.1" ,
24
+ "@prisma/instrumentation" : " ^5.8.1" ,
24
25
"@radix-ui/react-icons" : " ^1.3.2" ,
25
26
"@radix-ui/react-toolbar" : " ^1.1.0" ,
26
27
"@radix-ui/themes" : " ^3.1.3" ,
Original file line number Diff line number Diff line change 1
1
import * as Sentry from '@sentry/nextjs' ;
2
+ import { PrismaInstrumentation } from '@prisma/instrumentation' ;
2
3
3
4
Sentry . init ( {
4
5
dsn : process . env . NEXT_PUBLIC_SENTRY_DSN ,
5
6
tracesSampleRate : 1 ,
6
7
environment : process . env . NODE_ENV ,
7
- integrations : [ Sentry . prismaIntegration ( ) ] ,
8
+ integrations : [
9
+ Sentry . prismaIntegration ( {
10
+ prismaInstrumentation : new PrismaInstrumentation ( ) ,
11
+ } ) ,
12
+ ] ,
8
13
spotlight : process . env . NODE_ENV === 'development' ,
9
14
} ) ;
You can’t perform that action at this time.
0 commit comments