File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// For future interactivity (theme switch, search, etc.)
2- import * as Sentry from "@sentry/browser" ;
3- import { BrowserTracing } from "@sentry/browser" ;
4- import { Replay } from "@sentry/replay" ;
5-
6- Sentry . init ( {
7- dsn : "https://3410730c33a0ed28fc51370949258ba8@o4509151884148736.ingest.us.sentry.io/4510038139142144" ,
8-
9- // Collect default PII like IP address, user agent
10- sendDefaultPii : true ,
11-
12- // Enable performance monitoring + session replay
13- integrations : [
14- new BrowserTracing ( ) ,
15- new Replay ( )
16- ] ,
17-
18- // Performance Monitoring
19- tracesSampleRate : 1.0 , // Capture 100% (lower in prod)
20-
21- // Session Replay
22- replaysSessionSampleRate : 0.1 , // Capture 10% of sessions
23- replaysOnErrorSampleRate : 1.0 // Always capture replay on error
24- } ) ;
25-
26- // Test error
27- myUndefinedFunction ( ) ;
282console . log ( "All-in-One Tools loaded." ) ;
You can’t perform that action at this time.
0 commit comments