From 751ba0f44649bfdb09c048ac25bca16b1dce016e Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Tue, 28 Dec 2021 19:49:31 +0100 Subject: [PATCH] Configure traces sample rate --- config/initializers/sentry.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/config/initializers/sentry.rb b/config/initializers/sentry.rb index ee34f52f..8a7712ca 100644 --- a/config/initializers/sentry.rb +++ b/config/initializers/sentry.rb @@ -8,8 +8,4 @@ Sentry.init do |config| # 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 end