Issue
I want to know if I can turn tracing (transactions/spans, and optionally profiles) on or off for a project from Sentry’s organization or project settings, instead of changing SDK code.
Applies to
All SaaS Customers
Tracing / Performance Monitoring
Resolution
Sentry does not provide an organization- or project-level switch in the UI to enable or disable tracing. Tracing is controlled through your application’s SDK configuration.
To turn tracing off, open the Set Up Tracing docs for your SDK and remove or unset tracing options from Sentry.init (or the platform equivalent), such as tracesSampleRate, tracesSampler, and tracing integrations like browserTracingIntegration.
If you also want to stop sending profiles, remove the relevant profiling options as well.
Once updated, redeploy your application so the change takes effect.
Note: Setting tracesSampleRate to 0 does not necessarily fully disable tracing on every SDK. For more information, see Why changing my traces sample rate does not affect the amount of transactions sent to Sentry?.
