retrospring/config/initializers/sentry.rb

12 lines
366 B
Ruby
Raw Normal View History

2021-12-28 18:32:03 +01:00
Sentry.init do |config|
2022-04-16 03:48:09 +02:00
config.release = Retrospring::Version.to_s
2021-12-28 18:32:03 +01:00
config.dsn = APP_CONFIG[:sentry_dsn]
config.breadcrumbs_logger = [:active_support_logger, :http_logger]
# Set tracesSampleRate to 1.0 to capture 100%
# of transactions for performance monitoring.
# We recommend adjusting this value in production
2021-12-31 11:59:07 +01:00
config.traces_sample_rate = 0.25
2021-12-28 18:32:03 +01:00
end