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:
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%
|
# 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue