Merge branch 'temp' into michael/ruby-versions
* temp: Update sentry logging
This commit is contained in:
commit
2501851c95
1 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue