Merge pull request #88 from snap-cloud/temp

Add Sentry Pref Logging
This commit is contained in:
Michael Ball 2021-02-24 21:55:50 -08:00 committed by GitHub
commit 1b056aa47f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,13 @@
Sentry.init do |config|
config.enabled_environments = %|production staging|
config.dsn = ENV['SENTRY_DSN']
config.breadcrumbs_logger = [:active_support_logger]
# To activate performance monitoring, set one of these options.
# We recommend adjusting the value in production:
config.traces_sample_rate = 0.5
# or
# config.traces_sampler = lambda do |context|
# true
# end
end