File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 2121 "@auth/prisma-adapter" : " ^2.7.4" ,
2222 "@google-cloud/storage" : " ^7.7.0" ,
2323 "@prisma/client" : " ^5.8.1" ,
24+ "@prisma/instrumentation" : " ^5.8.1" ,
2425 "@radix-ui/react-icons" : " ^1.3.2" ,
2526 "@radix-ui/react-toolbar" : " ^1.1.0" ,
2627 "@radix-ui/themes" : " ^3.1.3" ,
Original file line number Diff line number Diff line change 11import * as Sentry from '@sentry/nextjs' ;
2+ import { PrismaInstrumentation } from '@prisma/instrumentation' ;
23
34Sentry . init ( {
45 dsn : process . env . NEXT_PUBLIC_SENTRY_DSN ,
56 tracesSampleRate : 1 ,
67 environment : process . env . NODE_ENV ,
7- integrations : [ Sentry . prismaIntegration ( ) ] ,
8+ integrations : [
9+ Sentry . prismaIntegration ( {
10+ prismaInstrumentation : new PrismaInstrumentation ( ) ,
11+ } ) ,
12+ ] ,
813 spotlight : process . env . NODE_ENV === 'development' ,
914} ) ;
You can’t perform that action at this time.
0 commit comments