chore: Ability to Disable Sentry Transactions (#4989)

fixes: #4866
This commit is contained in:
Sojan Jose
2022-07-07 17:07:05 +02:00
committed by GitHub
parent 2f3bdbdea2
commit f014d9d13b
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ if ENV['SENTRY_DSN']
# To activate performance monitoring, set one of these options.
# We recommend adjusting the value in production:
config.traces_sample_rate = 0.1
config.traces_sample_rate = 0.1 if ENV['ENABLE_SENTRY_TRANSACTIONS']
config.excluded_exceptions += ['Rack::Timeout::RequestTimeoutException']