Skip to content

Commit dea34b8

Browse files
remove stuff
1 parent 3b0c0f5 commit dea34b8

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

frontend/src/util/sentry.tsx

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,7 @@ export const initSentry = () => {
77
console.log("sentry started")
88
Sentry.init({
99
dsn: "https://3ceddfdc2ec34770c94e954ead69872b@toska.it.helsinki.fi/23",
10-
// Setting this option to true will send default PII data to Sentry.
11-
// For example, automatic IP address collection on events
12-
environment: 'production',
1310
sendDefaultPii: true,
14-
integrations: [
15-
Sentry.browserTracingIntegration(),
16-
Sentry.replayIntegration()
17-
],
18-
// Tracing
19-
tracesSampleRate: 1.0, // Capture 100% of the transactions
20-
// Set 'tracePropagationTargets' to control for which URLs distributed tracing should be enabled
21-
tracePropagationTargets: ["localhost", /^https:\/\/yourserver\.io\/api/],
22-
// Session Replay
23-
replaysSessionSampleRate: 0.1, // This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.
24-
replaysOnErrorSampleRate: 1.0, // If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.,
25-
// Enable logs to be sent to Sentry
26-
enableLogs: true
2711
});
2812
}
2913
// Add this button component to your app to test Sentry's error tracking

0 commit comments

Comments
 (0)