A Ruby gem for detailed Rails application performance monitoring 📈. Metrics and transaction traces are reported to Scout, a hosted application monitoring service.
The Scout agent is engineered to do some wonderful things:
Add the gem to your Gemfile
gem 'scout_apm'
Add a version of the parser
gem that supports your version of Ruby. For example, if you're on Ruby 3.3.0:
gem 'parser', '~> 3.3.0.0'
Update your Gemfile
bundle install
Signup for a Scout account and put the provided
config file at RAILS_ROOT/config/scout_apm.yml
.
Your config file should look like:
common: &defaults
name: YOUR_APPLICATION_NAME
key: YOUR_APPLICATION_KEY
monitor: true
test:
monitor: false
production:
<<: *defaults
To use DevTrace, our free, no-signup, in-browser development profiler:
# Gemfile
gem 'scout_apm'
SCOUT_DEV_TRACE=true rails server
gem 'scout_apm', path: '/path/to/scout_apm_ruby
cd /path/to/scout_apm_ruby && bundle exec rake compile
For the complete list of supported frameworks, Rubies, configuration options and more, see our help site.
Email support@scoutapp.com if you need a hand.