Skip to content

Commit

Permalink
Set up Sentry profiling
Browse files Browse the repository at this point in the history
  • Loading branch information
cpytel committed Nov 26, 2024
1 parent 3cbe735 commit ddb4b08
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ gem "rexml"
gem "sassc"
gem "sassc-rails"
gem "scenic"
gem "stackprof"
gem "sentry-rails"
gem "sentry-ruby"
gem "sprockets-rails"
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -679,6 +680,7 @@ DEPENDENCIES
spring-commands-rspec
sprockets-rails
sprockets-redirect
stackprof
standard
timecop
uglifier
Expand Down
1 change: 1 addition & 0 deletions config/initializers/sentry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ddb4b08

Please sign in to comment.