Prepare Profiling with Sentry

This commit is contained in:
Sebastian Serth
2023-04-25 23:14:43 +02:00
parent 20588e4910
commit 62f96704de
3 changed files with 13 additions and 8 deletions

View File

@ -4,6 +4,8 @@ Sentry.init do |config|
config.send_modules = true
config.include_local_variables = true
config.breadcrumbs_logger = %i[sentry_logger monotonic_active_support_logger http_logger]
# Enable Profiling: https://docs.sentry.io/platforms/ruby/guides/profiling/
# config.profiles_sample_rate = 1.0
# Set tracesSampleRate to 1.0 to capture 100%
# of transactions for performance monitoring.