File tree Expand file tree Collapse file tree 11 files changed +353
-626
lines changed Expand file tree Collapse file tree 11 files changed +353
-626
lines changed Original file line number Diff line number Diff line change 25
25
"@latitude-data/sdk" : " workspace:^" ,
26
26
"@latitude-data/telemetry" : " workspace:^" ,
27
27
"@sentry/cli" : " ^2.37.0" ,
28
- "@sentry/node" : " ^8.30.0" ,
28
+ "@sentry/node" : " ^9.9.0" ,
29
+ "@sentry/profiling-node" : " ^9.8.0" ,
29
30
"@t3-oss/env-core" : " ^0.10.1" ,
30
31
"@tavily/core" : " ^0.3.1" ,
31
32
"drizzle-orm" : " ^0.33.0" ,
Original file line number Diff line number Diff line change 1
1
import { env } from '@latitude-data/env'
2
2
import * as Sentry from '@sentry/node'
3
+ import { nodeProfilingIntegration } from '@sentry/profiling-node'
3
4
4
5
if ( env . SENTRY_GATEWAY_DSN ) {
5
6
Sentry . init ( {
6
7
dsn : env . SENTRY_GATEWAY_DSN ,
7
-
8
8
enabled : ! ! env . SENTRY_GATEWAY_DSN ,
9
+ environment : env . NODE_ENV ,
10
+ integrations : [ nodeProfilingIntegration ( ) ] ,
11
+ profilesSampleRate : 1.0 ,
12
+ tracesSampleRate : 1.0 ,
9
13
} )
10
14
}
11
15
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- import './instrumentation '
1
+ import './common/sentry '
2
2
3
3
import { serve } from '@hono/node-server'
4
4
import app from '$/routes/app'
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ const nextConfig = {
17
17
'@napi-rs/canvas' ,
18
18
'@sentry/nextjs' ,
19
19
'@sentry/profiling-node' ,
20
- '@sentry/utils' ,
21
20
'bullmq' ,
22
21
'jose' ,
23
22
'nodemailer-mailgun-transport' ,
Original file line number Diff line number Diff line change 27
27
"@lucia-auth/adapter-drizzle" : " ^1.0.7" ,
28
28
"@monaco-editor/react" : " ^4.6.0" ,
29
29
"@napi-rs/canvas" : " ^0.1.65" ,
30
- "@sentry/nextjs" : " ^8.34 .0" ,
30
+ "@sentry/nextjs" : " ^9.9 .0" ,
31
31
"@sentry/profiling-node" : " ^9.8.0" ,
32
- "@sentry/utils" : " ^8.30.0" ,
33
32
"@sindresorhus/slugify" : " ^2.2.1" ,
34
33
"@t3-oss/env-nextjs" : " ^0.10.1" ,
35
34
"@types/diff-match-patch" : " ^1.0.36" ,
Original file line number Diff line number Diff line change @@ -10,10 +10,7 @@ Sentry.init({
10
10
dsn : env . SENTRY_WEB_DSN ,
11
11
enabled : ! ! env . SENTRY_WEB_DSN ,
12
12
13
- integrations : [ nodeProfilingIntegration ] ,
13
+ integrations : [ nodeProfilingIntegration ( ) ] ,
14
14
tracesSampleRate : 1.0 ,
15
15
profilesSampleRate : 1.0 ,
16
-
17
- // Setting this option to true will print useful information to the console while you're setting up Sentry.
18
- debug : false ,
19
16
} )
Original file line number Diff line number Diff line change 19
19
"@latitude-data/core" : " workspace:^" ,
20
20
"@latitude-data/env" : " workspace:^" ,
21
21
"@sentry/cli" : " ^2.37.0" ,
22
- "@sentry/node" : " ^8.30 .0" ,
22
+ "@sentry/node" : " ^9.9 .0" ,
23
23
"@sentry/profiling-node" : " ^9.8.0" ,
24
24
"@t3-oss/env-core" : " *" ,
25
25
"@tavily/core" : " ^0.3.1" ,
Original file line number Diff line number Diff line change 1
1
import './tracer'
2
+ import './utils/sentry'
2
3
3
4
import express from 'express'
4
5
import { createBullBoard } from '@bull-board/api'
Original file line number Diff line number Diff line change @@ -6,11 +6,10 @@ if (env.SENTRY_WORKERS_DSN) {
6
6
Sentry . init ( {
7
7
dsn : env . SENTRY_WORKERS_DSN ,
8
8
enabled : ! ! env . SENTRY_WORKERS_DSN ,
9
- integrations : [ nodeProfilingIntegration ] ,
10
- tracesSampleRate : 1.0 ,
11
- profilesSampleRate : 1.0 ,
12
-
13
9
environment : env . NODE_ENV ,
10
+ integrations : [ nodeProfilingIntegration ( ) ] ,
11
+ profilesSampleRate : 1.0 ,
12
+ tracesSampleRate : 1.0 ,
14
13
} )
15
14
}
16
15
You can’t perform that action at this time.
0 commit comments