Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

build: reduce the sample rate to 0.1

himself657ff12a6d0f2a
diff --git a/apps/web/sentry.client.config.ts b/apps/web/sentry.client.config.ts
index b59f9cc070..426715aea6 100644
--- a/apps/web/sentry.client.config.ts
+++ b/apps/web/sentry.client.config.ts
@@ -4,8 +4,8 @@ const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN;
Sentry.init({
dsn: SENTRY_DSN,
- tracesSampleRate: 1.0,
+ tracesSampleRate: 0.1,
replaysSessionSampleRate: 0.1,
- replaysOnErrorSampleRate: 1.0,
+ replaysOnErrorSampleRate: 0.1,
integrations: [new Sentry.Replay()],
});
diff --git a/apps/web/sentry.edge.config.ts b/apps/web/sentry.edge.config.ts
index 6566c0f590..a001daaa79 100644
--- a/apps/web/sentry.edge.config.ts
+++ b/apps/web/sentry.edge.config.ts
@@ -4,5 +4,5 @@ const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN;
Sentry.init({
dsn: SENTRY_DSN,
- tracesSampleRate: 1.0,
+ tracesSampleRate: 0.1,
});
diff --git a/apps/web/sentry.server.config.ts b/apps/web/sentry.server.config.ts
index 6566c0f590..a001daaa79 100644
--- a/apps/web/sentry.server.config.ts
+++ b/apps/web/sentry.server.config.ts
@@ -4,5 +4,5 @@ const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN;
Sentry.init({
dsn: SENTRY_DSN,
- tracesSampleRate: 1.0,
+ tracesSampleRate: 0.1,
});