mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 05:09:38 +02:00
Reduce Sentry sampling rates for performance monitoring
This commit is contained in:
parent
0e76d753bd
commit
e8390a68d8
1 changed files with 2 additions and 2 deletions
|
@ -8,12 +8,12 @@ if ENV["SENTRY_DSN"].present?
|
|||
# Set traces_sample_rate to 1.0 to capture 100%
|
||||
# of transactions for performance monitoring.
|
||||
# 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%
|
||||
# of sampled transactions.
|
||||
# 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
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue