Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: set sentry profiling sample rate (#6249)

Max Deichmann780fd577c4cf
diff --git a/web/sentry.client.config.ts b/web/sentry.client.config.ts
index 98b3eff24a..a96832db72 100644
--- a/web/sentry.client.config.ts
+++ b/web/sentry.client.config.ts
@@ -31,6 +31,12 @@ Sentry.init({
replaysOnErrorSampleRate: 1.0,
debug: false,
+ // Set profilesSampleRate to 1.0 to profile every transaction.
+ // Since profilesSampleRate is relative to tracesSampleRate,
+ // 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,
// ...
// Note: if you want to override the automatic release value, do not set a