Scheduling infrastructure for absolutely everyone.
feat: Use a separate project for Client Sentry (#22183)
Benny Joo52f16604c1fd
diff --git a/.env.example b/.env.exampleindex 8df31c4c61b..f01c9443441 100644--- a/.env.example+++ b/.env.example@@ -164,6 +164,7 @@ SENTRY_PROJECT=SENTRY_AUTH_TOKEN=# Used for capturing exceptions and logging messagesNEXT_PUBLIC_SENTRY_DSN=+NEXT_PUBLIC_SENTRY_DSN_CLIENT=SENTRY_DEBUG=SENTRY_MAX_SPANS=SENTRY_SAMPLE_RATE=diff --git a/apps/web/instrumentation-client.ts b/apps/web/instrumentation-client.tsindex ee23de9c0aa..5236834acef 100644--- a/apps/web/instrumentation-client.ts+++ b/apps/web/instrumentation-client.ts@@ -4,7 +4,7 @@import * as Sentry from "@sentry/nextjs";Sentry.init({- dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,+ dsn: process.env.NEXT_PUBLIC_SENTRY_DSN_CLIENT,sampleRate: parseFloat(process.env.SENTRY_SAMPLE_RATE ?? "1.0") || 1.0,// Define how likely traces are sampled. Adjust this value in production, or use tracesSampler for greater control.diff --git a/turbo.json b/turbo.jsonindex 8c3aece83ea..9dc1c9b2487 100644--- a/turbo.json+++ b/turbo.json@@ -32,6 +32,7 @@"NEXT_PUBLIC_BOOKER_NUMBER_OF_DAYS_TO_LOAD","NEXT_PUBLIC_IS_E2E","NEXT_PUBLIC_SENTRY_DSN",+ "NEXT_PUBLIC_SENTRY_DSN_CLIENT","NEXT_PUBLIC_STRIPE_PREMIUM_PLAN_PRICE_MONTHLY","NEXT_PUBLIC_STRIPE_PREMIUM_PLAN_PRODUCT_ID","NEXT_PUBLIC_STRIPE_PUBLIC_KEY",