chore: update yarn version and sentry configs

This commit is contained in:
Ahmad 2025-04-16 15:02:44 -04:00
parent de9f8ac821
commit 047d5e73f2
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
4 changed files with 8 additions and 8 deletions

View file

@ -108,5 +108,5 @@
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
"typescript": "^5.8.2" "typescript": "^5.8.2"
}, },
"packageManager": "yarn@4.6.0" "packageManager": "yarn@4.9.1"
} }

View file

@ -24,7 +24,7 @@ Sentry.init({
// Set tracesSampleRate to 1.0 to capture 100% // Set tracesSampleRate to 1.0 to capture 100%
// of transactions for tracing. // of transactions for tracing.
// We recommend adjusting this value in production // 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 // Set `tracePropagationTargets` to control for which URLs trace propagation should be enabled
tracePropagationTargets: ['localhost', /^https:\/\/tasko\.ahmadk953\.org/], tracePropagationTargets: ['localhost', /^https:\/\/tasko\.ahmadk953\.org/],
@ -33,10 +33,10 @@ Sentry.init({
// the final profiling rate can be computed as tracesSampleRate * profilesSampleRate // the final profiling rate can be computed as tracesSampleRate * profilesSampleRate
// For example, a tracesSampleRate of 0.5 and profilesSampleRate of 0.5 would // 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) // 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. // Define how likely Replay events are sampled.
replaysSessionSampleRate: 0.25, replaysSessionSampleRate: 0.05,
// Define how likely Replay events are sampled when an error occurs. // Define how likely Replay events are sampled when an error occurs.
replaysOnErrorSampleRate: 1.0, replaysOnErrorSampleRate: 1.0,

View file

@ -11,7 +11,7 @@ Sentry.init({
// Set tracesSampleRate to 1.0 to capture 100% // Set tracesSampleRate to 1.0 to capture 100%
// of transactions for tracing. // of transactions for tracing.
// We recommend adjusting this value in production // 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 // Set `tracePropagationTargets` to control for which URLs trace propagation should be enabled
tracePropagationTargets: ['localhost', /^https:\/\/tasko\.ahmadk953\.org/], tracePropagationTargets: ['localhost', /^https:\/\/tasko\.ahmadk953\.org/],
@ -20,7 +20,7 @@ Sentry.init({
// the final profiling rate can be computed as tracesSampleRate * profilesSampleRate // the final profiling rate can be computed as tracesSampleRate * profilesSampleRate
// For example, a tracesSampleRate of 0.5 and profilesSampleRate of 0.5 would // 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) // 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. // Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false, debug: false,

View file

@ -15,7 +15,7 @@ Sentry.init({
// Set tracesSampleRate to 1.0 to capture 100% // Set tracesSampleRate to 1.0 to capture 100%
// of transactions for tracing. // of transactions for tracing.
// We recommend adjusting this value in production // 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 // Set `tracePropagationTargets` to control for which URLs trace propagation should be enabled
tracePropagationTargets: ['localhost', /^https:\/\/tasko\.ahmadk953\.org/], tracePropagationTargets: ['localhost', /^https:\/\/tasko\.ahmadk953\.org/],
@ -24,7 +24,7 @@ Sentry.init({
// the final profiling rate can be computed as tracesSampleRate * profilesSampleRate // the final profiling rate can be computed as tracesSampleRate * profilesSampleRate
// For example, a tracesSampleRate of 0.5 and profilesSampleRate of 0.5 would // 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) // 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. // Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false, debug: false,