mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-25 22:22:56 +03:00
build: support sentry replay (#1908)
This commit is contained in:
parent
2a2d682211
commit
1162bffb30
@ -5,4 +5,7 @@ const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN;
|
|||||||
Sentry.init({
|
Sentry.init({
|
||||||
dsn: SENTRY_DSN,
|
dsn: SENTRY_DSN,
|
||||||
tracesSampleRate: 1.0,
|
tracesSampleRate: 1.0,
|
||||||
|
replaysSessionSampleRate: 0.1,
|
||||||
|
replaysOnErrorSampleRate: 1.0,
|
||||||
|
integrations: [new Sentry.Replay()],
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user