From 047d5e73f2c661b4f62f6c88f7a27c2489a3aab1 Mon Sep 17 00:00:00 2001 From: Ahmad <103906421+ahmadk953@users.noreply.github.com> Date: Wed, 16 Apr 2025 15:02:44 -0400 Subject: [PATCH] chore: update yarn version and sentry configs --- package.json | 2 +- sentry.client.config.ts | 6 +++--- sentry.edge.config.ts | 4 ++-- sentry.server.config.ts | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index d358658..c3e887c 100644 --- a/package.json +++ b/package.json @@ -108,5 +108,5 @@ "ts-node": "^10.9.2", "typescript": "^5.8.2" }, - "packageManager": "yarn@4.6.0" + "packageManager": "yarn@4.9.1" } diff --git a/sentry.client.config.ts b/sentry.client.config.ts index 292013b..2f8f9f7 100644 --- a/sentry.client.config.ts +++ b/sentry.client.config.ts @@ -24,7 +24,7 @@ Sentry.init({ // Set tracesSampleRate to 1.0 to capture 100% // of transactions for tracing. // We recommend adjusting this value in production - tracesSampleRate: 0.5, + tracesSampleRate: 0.15, // Set `tracePropagationTargets` to control for which URLs trace propagation should be enabled tracePropagationTargets: ['localhost', /^https:\/\/tasko\.ahmadk953\.org/], @@ -33,10 +33,10 @@ Sentry.init({ // the final profiling rate can be computed as tracesSampleRate * profilesSampleRate // For example, a tracesSampleRate of 0.5 and profilesSampleRate of 0.5 would // result in 25% of transactions being profiled (0.5*0.5=0.25) - profilesSampleRate: 0.5, + profilesSampleRate: 0.1, // Define how likely Replay events are sampled. - replaysSessionSampleRate: 0.25, + replaysSessionSampleRate: 0.05, // Define how likely Replay events are sampled when an error occurs. replaysOnErrorSampleRate: 1.0, diff --git a/sentry.edge.config.ts b/sentry.edge.config.ts index 5d981ea..8694e9d 100644 --- a/sentry.edge.config.ts +++ b/sentry.edge.config.ts @@ -11,7 +11,7 @@ Sentry.init({ // Set tracesSampleRate to 1.0 to capture 100% // of transactions for tracing. // We recommend adjusting this value in production - tracesSampleRate: 0.5, + tracesSampleRate: 0.15, // Set `tracePropagationTargets` to control for which URLs trace propagation should be enabled tracePropagationTargets: ['localhost', /^https:\/\/tasko\.ahmadk953\.org/], @@ -20,7 +20,7 @@ Sentry.init({ // the final profiling rate can be computed as tracesSampleRate * profilesSampleRate // For example, a tracesSampleRate of 0.5 and profilesSampleRate of 0.5 would // result in 25% of transactions being profiled (0.5*0.5=0.25) - profilesSampleRate: 0.5, + profilesSampleRate: 0.1, // Setting this option to true will print useful information to the console while you're setting up Sentry. debug: false, diff --git a/sentry.server.config.ts b/sentry.server.config.ts index c4d04c7..8caca13 100644 --- a/sentry.server.config.ts +++ b/sentry.server.config.ts @@ -15,7 +15,7 @@ Sentry.init({ // Set tracesSampleRate to 1.0 to capture 100% // of transactions for tracing. // We recommend adjusting this value in production - tracesSampleRate: 0.5, + tracesSampleRate: 0.15, // Set `tracePropagationTargets` to control for which URLs trace propagation should be enabled tracePropagationTargets: ['localhost', /^https:\/\/tasko\.ahmadk953\.org/], @@ -24,7 +24,7 @@ Sentry.init({ // the final profiling rate can be computed as tracesSampleRate * profilesSampleRate // For example, a tracesSampleRate of 0.5 and profilesSampleRate of 0.5 would // result in 25% of transactions being profiled (0.5*0.5=0.25) - profilesSampleRate: 0.5, + profilesSampleRate: 0.1, // Setting this option to true will print useful information to the console while you're setting up Sentry. debug: false,