File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22import ReactDOM from 'react-dom' ;
33import * as Sentry from '@sentry/react' ;
4- import { BrowserTracing } from '@sentry/tracing' ;
5- import { Replay } from '@sentry/replay' ;
64
75import './index.css' ;
86import App from './App' ;
@@ -12,15 +10,14 @@ if (process.env.REACT_APP_SENTRY_DSN) {
1210 debug : true ,
1311 dsn : process . env . REACT_APP_SENTRY_DSN ,
1412 release : process . env . REACT_APP_GIT_SHA ,
13+ replaysSessionSampleRate : 1.0 ,
14+ tracesSampleRate : 1.0 ,
1515 integrations : [
16- new BrowserTracing ( {
16+ new Sentry . BrowserTracing ( {
1717 tracingOrigins : [ 'sourcemaps.io' ]
1818 } ) ,
19- new Replay ( {
20- sessionSampleRate : 1.0
21- } )
19+ new Sentry . Replay ( )
2220 ] ,
23- tracesSampleRate : 1.0
2421 } ) ;
2522}
2623
You can’t perform that action at this time.
0 commit comments