Skip to content

Commit e68ca22

Browse files
committed
refactor(sentry): temp route to dummy account
1 parent 975b407 commit e68ca22

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

src/app/sentry-tunnel/route.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
const SENTRY_HOST = 'o4504495959703552.ingest.us.sentry.io';
2-
const SENTRY_PROJECT_IDS = ['4504526099447808'];
1+
const SENTRY_HOST = 'o4509231087812608.ingest.de.sentry.io';
2+
const SENTRY_PROJECT_IDS = ['4509231092793424'];
33

44
export const POST = async (req: Request) => {
55
try {

src/instrumentation-client.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ import {
1515
} from '@sentry/nextjs';
1616

1717
const client = new BrowserClient({
18-
dsn: 'https://d9c07cf404c1777bcf744cb901dfc7c2@o4504495959703552.ingest.us.sentry.io/4504526099447808',
18+
dsn: 'https://9a7126eecba5734903eb209d2a1bd935@o4509231087812608.ingest.de.sentry.io/4509231092793424',
1919
tunnel: '/sentry-tunnel',
20-
tracesSampleRate: 0,
21-
replaysSessionSampleRate: 0,
22-
replaysOnErrorSampleRate: 0,
20+
tracesSampleRate: 1,
21+
replaysSessionSampleRate: 1,
22+
replaysOnErrorSampleRate: 1,
2323
debug: false,
2424
transport: makeFetchTransport,
2525
stackParser: defaultStackParser,

src/instrumentation.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
import * as Sentry from '@sentry/nextjs';
22

33
const SENTRY_DSN =
4-
'https://0d295254822c41989ea49baec3c31a6d@o4504495959703552.ingest.us.sentry.io/4504526099447808';
4+
'https://9a7126eecba5734903eb209d2a1bd935@o4509231087812608.ingest.de.sentry.io/4509231092793424';
55

66
export async function register() {
77
if (process.env.NODE_ENV !== 'production') return;
88

99
Sentry.init({
1010
dsn: SENTRY_DSN,
11-
tracesSampleRate: 0,
12-
replaysSessionSampleRate: 0,
13-
replaysOnErrorSampleRate: 0,
11+
tracesSampleRate: 1,
12+
replaysSessionSampleRate: 1,
13+
replaysOnErrorSampleRate: 1,
1414
debug: false,
1515
denyUrls: [/extensions\//i, /^chrome:\/\//i, /^chrome-extension:\/\//i],
1616
beforeSend(event) {

0 commit comments

Comments
 (0)