diff --git a/Gemfile b/Gemfile index 064a34b2e..6e0df4f11 100644 --- a/Gemfile +++ b/Gemfile @@ -57,6 +57,7 @@ gem "rexml" gem "sassc" gem "sassc-rails" gem "scenic" +gem "stackprof" gem "sentry-rails" gem "sentry-ruby" gem "sprockets-rails" diff --git a/Gemfile.lock b/Gemfile.lock index fa7a34e3b..8bd1a8cc0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -545,6 +545,7 @@ GEM sprockets-redirect (1.0.0) activesupport (>= 3.1.0) rack + stackprof (0.2.26) standard (1.40.1) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.0) @@ -679,6 +680,7 @@ DEPENDENCIES spring-commands-rspec sprockets-rails sprockets-redirect + stackprof standard timecop uglifier diff --git a/config/initializers/sentry.rb b/config/initializers/sentry.rb index d1db85db0..6f9259b28 100644 --- a/config/initializers/sentry.rb +++ b/config/initializers/sentry.rb @@ -6,4 +6,5 @@ # of transactions for performance monitoring. # We recommend adjusting this value in production. config.traces_sample_rate = 0.1 + config.profiles_sample_rate = 0.1 end