Skip to content

Commit d6370ce

Browse files
Update automatic-instrumentation.mdx (#7775)
1 parent 2d45f6c commit d6370ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/platforms/node/common/performance/instrumentation/automatic-instrumentation.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ Sentry.init({
3737
// (This function is slow because of file I/O, consider manually adding additional integrations instead)
3838
...Sentry.autoDiscoverNodePerformanceMonitoringIntegrations(),
3939
// Or manually add integrations of your choice. For example:
40-
Sentry.Integrations.Apollo(),
41-
Sentry.Integrations.Postgres(),
40+
new Sentry.Integrations.Apollo(),
41+
new Sentry.Integrations.Postgres(),
4242
],
4343

4444
// We recommend adjusting this value in production, or using tracesSampler

0 commit comments

Comments
 (0)