File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,5 @@ NEXT_PUBLIC_SCIENTIST_API_VERSION=v2
8
8
# values to use for testing
9
9
TEST_SCIENTIST_USER = [email protected]
10
10
TEST_SCIENTIST_PW = !test1234
11
+
12
+ SENTRY_DSN = https://[email protected] /4504805305810944
Original file line number Diff line number Diff line change
1
+ import { Integrations } from '@sentry/tracing'
2
+ import * as Sentry from '@sentry/react'
1
3
import { Footer , Header } from '@scientist-softserv/webstore-component-library'
2
4
import { SWRConfig } from 'swr'
3
5
import {
@@ -17,6 +19,14 @@ import {
17
19
} from '../utils'
18
20
import '../utils/theme/globals.scss'
19
21
22
+ Sentry . init ( {
23
+ dsn : process . env . SENTRY_DSN ,
24
+ integrations : [
25
+ new Integrations . BrowserTracing ( ) ,
26
+ ] ,
27
+ tracesSampleRate : 1.0 ,
28
+ } )
29
+
20
30
const WebStore = ( { Component } ) => {
21
31
const { data : session } = useSession ( )
22
32
You can’t perform that action at this time.
0 commit comments