From 8b3cc5207c4065e3e5cf7a2c739e7584febf8620 Mon Sep 17 00:00:00 2001 From: Michael Harrison Date: Thu, 18 Jan 2024 17:09:22 -0600 Subject: [PATCH] reduce sentry noise, no transactions --- config/initializers/sentry.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/initializers/sentry.rb b/config/initializers/sentry.rb index 23f085bec7..cd47f30daa 100644 --- a/config/initializers/sentry.rb +++ b/config/initializers/sentry.rb @@ -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?