Instrument only a percentage of your Rails app's web requests and background jobs in Scout APM so you can subscribe to an affordable plan in Scout APM
Application Performance Management (APM) tools are often expensive. This forces many startups to forego using an APM tool. This gem helps you instrument only a percentage of your Rails app's web requests and background jobs in Scout APM so you can subscribe to a plan that's affordable for you now and later upgrade as your revenue grows.
scout_apm_sampler to your Rails app's Gemfile
and bundle install
Now, in an initializer, configure
scout_apm_sampler to only send a percentage of web requests and background jobs to Scout APM
# config/initializers/scout_apm_sampler.rb ScoutApmSampler.configure do |config| config.web_request_sampling_rate = 0.1 config.background_job_sampling_rate = 0.05 end
- Support other background job systems in addition to Sidekiq