File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,37 @@ import './assets/main.css'
2
2
3
3
import { createApp } from 'vue'
4
4
import { createPinia } from 'pinia'
5
+ import * as Sentry from '@sentry/vue' ;
5
6
6
7
import App from './App.vue'
7
8
import router from './router'
8
9
9
10
const app = createApp ( App )
10
11
12
+ Sentry . init ( {
13
+ app,
14
+ dsn : "https://c76145841f23714087313e3c4a4d3be2@o4507877326520320.ingest.us.sentry.io/4507877331107840" ,
15
+ integrations : [
16
+ Sentry . browserTracingIntegration ( { router } ) ,
17
+ Sentry . replayIntegration ( ) ,
18
+ ] ,
19
+
20
+ // Set tracesSampleRate to 1.0 to capture 100%
21
+ // of transactions for tracing.
22
+ // We recommend adjusting this value in production
23
+ tracesSampleRate : 1.0 ,
24
+
25
+ // Set `tracePropagationTargets` to control for which URLs trace propagation should be enabled
26
+ tracePropagationTargets : [ "localhost" , / ^ h t t p s : \/ \/ b a c k e n d - a u r h - p r o d u c t i o n \. u p \. r a i l w a y \. a p p / ] ,
27
+
28
+ // Capture Replay for 10% of all sessions,
29
+ // plus for 100% of sessions with an error
30
+ replaysSessionSampleRate : 0.1 ,
31
+ replaysOnErrorSampleRate : 1.0 ,
32
+ } ) ;
33
+
11
34
app . use ( createPinia ( ) )
12
35
app . use ( router )
13
36
14
37
app . mount ( '#app' )
38
+
You can’t perform that action at this time.
0 commit comments