1- import * as Sentry from '@sentry/remix' ;
2-
3- Sentry . init ( {
4- tracesSampleRate : 1.0 , // Capture 100% of the transactions, reduce in production!
5- environment : 'qa' , // dynamic sampling bias to keep transactions
6- dsn : process . env . E2E_TEST_DSN ,
7- tunnel : 'http://localhost:3031/' , // proxy server
8- } ) ;
9-
101/**
112 * By default, Remix will handle generating the HTTP Response for you.
123 * You are free to delete this file if you'd like to, but if you ever want it revealed again, you can run `npx remix reveal` ✨
@@ -21,6 +12,7 @@ import { installGlobals } from '@remix-run/node';
2112import { RemixServer } from '@remix-run/react' ;
2213import isbot from 'isbot' ;
2314import { renderToPipeableStream } from 'react-dom/server' ;
15+ import * as Sentry from '@sentry/remix' ;
2416
2517installGlobals ( ) ;
2618
@@ -29,7 +21,7 @@ const ABORT_DELAY = 5_000;
2921Sentry . init ( {
3022 environment : 'qa' , // dynamic sampling bias to keep transactions
3123 dsn : process . env . E2E_TEST_DSN ,
32- // Performance Monitoring
24+ tunnel : 'http://localhost:3031/' , // proxy server
3325 tracesSampleRate : 1.0 , // Capture 100% of the transactions, reduce in production!
3426} ) ;
3527
0 commit comments