Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
verify
  • Loading branch information
chargome committed Jan 16, 2026
commit b86149b666706487c2eb982cd0e3b2f91a6109cc
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
import * as Sentry from '@sentry/nextjs';
import type { Log } from '@sentry/nextjs';

Sentry.init({
environment: 'qa', // dynamic sampling bias to keep transactions
dsn: process.env.NEXT_PUBLIC_E2E_TEST_DSN,
tunnel: `http://localhost:3031/`, // proxy server
tracesSampleRate: 1.0,
sendDefaultPii: true,
// Verify Log type is available
beforeSendLog(log: Log) {
return log;
},
});

export const onRouterTransitionStart = Sentry.captureRouterTransitionStart;
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as Sentry from '@sentry/nextjs';
import { Log } from '@sentry/nextjs';

Sentry.init({
environment: 'qa', // dynamic sampling bias to keep transactions
Expand All @@ -8,4 +9,8 @@ Sentry.init({
sendDefaultPii: true,
// debug: true,
integrations: [Sentry.vercelAIIntegration()],
// Verify Log type is available
beforeSendLog(log: Log) {
return log;
},
});
Loading