1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 21:29:38 +02:00

Reduce Sentry sampling rates for performance monitoring

This commit is contained in:
Josh Pigford 2025-02-25 08:44:13 -06:00
parent 0e76d753bd
commit e8390a68d8

View file

@ -8,12 +8,12 @@ if ENV["SENTRY_DSN"].present?
# Set traces_sample_rate to 1.0 to capture 100% # Set traces_sample_rate to 1.0 to capture 100%
# of transactions for performance monitoring. # of transactions for performance monitoring.
# We recommend adjusting this value in production. # We recommend adjusting this value in production.
config.traces_sample_rate = 0.5 config.traces_sample_rate = 0.25
# Set profiles_sample_rate to profile 100% # Set profiles_sample_rate to profile 100%
# of sampled transactions. # of sampled transactions.
# We recommend adjusting this value in production. # We recommend adjusting this value in production.
config.profiles_sample_rate = 0.5 config.profiles_sample_rate = 0.25
config.profiler_class = Sentry::Vernier::Profiler config.profiler_class = Sentry::Vernier::Profiler
end end