File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
dev-packages/e2e-tests/test-applications/node-profiling Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -9,16 +9,14 @@ function assertUnpatechedRequire(cycle) {
9
9
}
10
10
}
11
11
12
- assertUnpatechedRequire ( 'at startup' ) ;
13
12
import * as Sentry from '@sentry/node' ;
14
- // assertUnpatechedRequire('after importing sentry/node');
15
- // import { nodeProfilingIntegration } from '@sentry/profiling-node';
16
- // assertUnpatechedRequire('after importing sentry/profiling-node');
13
+ import { nodeProfilingIntegration } from '@sentry/profiling-node' ;
14
+ assertUnpatechedRequire ( 'after importing sentry/profiling-node' ) ;
17
15
const wait = ms => new Promise ( resolve => setTimeout ( resolve , ms ) ) ;
18
16
19
17
Sentry . init ( {
20
18
dsn : 'https://7fa19397baaf433f919fbe02228d5470@o1137848.ingest.sentry.io/6625302' ,
21
- // integrations: [nodeProfilingIntegration()],
19
+ integrations : [ nodeProfilingIntegration ( ) ] ,
22
20
tracesSampleRate : 1.0 ,
23
21
profilesSampleRate : 1.0 ,
24
22
} ) ;
You can’t perform that action at this time.
0 commit comments