Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

scout_apm_sampler

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scout_apm_sampler

  • 0.1.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

scout_apm_sampler

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

Why

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.

Installation

Add scout_apm_sampler to your Rails app's Gemfile

gem "scout_apm_sampler"

and bundle install

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

Todos

  • Support other background job systems in addition to Sidekiq

FAQs

Package last updated on 25 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc