Merge branch 'master' of https://git.heroku.com/snapcon into temp

* 'master' of https://git.heroku.com/snapcon:
  Update sentry logging
This commit is contained in:
Michael Ball 2021-02-24 21:26:38 -08:00
commit 413e4f94bf

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