Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Change performance sampling rate

Tomas Valentad11f5afc129a
diff --git a/sentry.client.config.ts b/sentry.client.config.ts
index 87b63e9a0..8bc023aa8 100644
--- a/sentry.client.config.ts
+++ b/sentry.client.config.ts
@@ -8,7 +8,7 @@ Sentry.init({
dsn: 'https://[email protected]/4505360685924352',
// Adjust this value in production, or use tracesSampler for greater control
- tracesSampleRate: 1,
+ tracesSampleRate: 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.edge.config.ts b/sentry.edge.config.ts
index 19d9a68d2..27aded2d5 100644
--- a/sentry.edge.config.ts
+++ b/sentry.edge.config.ts
@@ -9,7 +9,7 @@ Sentry.init({
dsn: 'https://[email protected]/4505360685924352',
// Adjust this value in production, or use tracesSampler for greater control
- tracesSampleRate: 1,
+ tracesSampleRate: 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 d86363618..3b4b9414d 100644
--- a/sentry.server.config.ts
+++ b/sentry.server.config.ts
@@ -8,7 +8,7 @@ Sentry.init({
dsn: 'https://[email protected]/4505360685924352',
// Adjust this value in production, or use tracesSampler for greater control
- tracesSampleRate: 1,
+ tracesSampleRate: 0.1,
// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false,