Skip to content

Commit 7224cdc

Browse files
committed
test configuration for proxied logger scenarios
1 parent fa40481 commit 7224cdc

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import * as Sentry from '@sentry/node';
2+
3+
Sentry.init({
4+
dsn: process.env.SENTRY_DSN,
5+
release: '1.0',
6+
tracesSampleRate: 1.0,
7+
enableLogs: true,
8+
integrations: [Sentry.pinoIntegration({ autoInstrument: false })],
9+
});

0 commit comments

Comments
 (0)