There was an error while loading. Please reload this page.
1 parent 76dbf0f commit ee32218Copy full SHA for ee32218
sentry.edge.config.ts
@@ -3,8 +3,16 @@ import * as Sentry from '@sentry/nextjs';
3
const dsn = process.env.SENTRY_DSN;
4
if (dsn) {
5
Sentry.init({
6
- dsn,
7
- tracesSampleRate: 0.01,
8
debug: false,
+ dsn,
+
9
+ // Disable tracing as it creates additional requests in an env where subrequests are limited.
10
+ enableTracing: false,
11
12
+ // Disable transactions as it creates additional requests in an env where subrequests are limited.
13
+ // https://docs.sentry.io/platforms/node/configuration/filtering/#using--3
14
+ beforeSendTransaction: () => {
15
+ return null;
16
+ },
17
});
18
}
0 commit comments