Skip to content

Commit

Permalink
reduce sentry noise, no transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
mwvolo committed Jan 18, 2024
1 parent fc3b373 commit 8b3cc52
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/initializers/sentry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@
config.release = secrets.release_version

config.breadcrumbs_logger = %i[sentry_logger active_support_logger http_logger]
config.traces_sample_rate = 0.5

# Send POST data and cookies to Sentry
config.send_default_pii = true

# Reduce the amount of logging from Sentry
config.logger = Sentry::Logger.new(STDOUT)
config.logger.level = Logger::ERROR
end if Rails.env.production?

0 comments on commit 8b3cc52

Please sign in to comment.