Skip to content

Commit 0d48a1d

Browse files
authored
Add sentry
1 parent c6dcfa5 commit 0d48a1d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/index.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,21 @@ import ReactDOM from 'react-dom';
33
import './index.css';
44
import App from './App';
55
import store from './store';
6+
import * as Sentry from "@sentry/react";
7+
import { BrowserTracing } from "@sentry/tracing";
68
import { Provider } from 'react-redux';
79
import * as serviceWorkerRegistration from './serviceWorkerRegistration';
810

11+
Sentry.init({
12+
dsn: "https://[email protected]/6385094",
13+
integrations: [new BrowserTracing()],
14+
15+
// Set tracesSampleRate to 1.0 to capture 100%
16+
// of transactions for performance monitoring.
17+
// We recommend adjusting this value in production
18+
tracesSampleRate: 1.0,
19+
});
20+
921
ReactDOM.render(
1022
<React.StrictMode>
1123
<Provider store={store}>

0 commit comments

Comments
 (0)