From 56b0544f850502b0f4e2a2ab5e084ac1e5e999b0 Mon Sep 17 00:00:00 2001 From: Tom Naessens Date: Sun, 19 May 2024 17:25:39 +0200 Subject: [PATCH] Sentry part II --- config/initializers/sentry.rb | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/config/initializers/sentry.rb b/config/initializers/sentry.rb index 965da73f..6763b9bc 100644 --- a/config/initializers/sentry.rb +++ b/config/initializers/sentry.rb @@ -1,18 +1,5 @@ Sentry.init do |config| config.dsn = ENV["SENTRY_DSN"] config.breadcrumbs_logger = [:active_support_logger, :http_logger] - - # Set traces_sample_rate to 1.0 to capture 100% - # of transactions for performance monitoring. - # We recommend adjusting this value in production. - config.traces_sample_rate = 1.0 - # or - config.traces_sampler = lambda do |context| - true - end - - # Set profiles_sample_rate to profile 100% - # of sampled transactions. - # We recommend adjusting this value in production. - config.profiles_sample_rate = 1.0 + config.enable_tracing = true end