module ScoutApmSaveMoney
Constants
- VERSION
Public Class Methods
config()
click to toggle source
# File lib/scout_apm_savemoney.rb, line 22 def config @config ||= Config.new end
configure() { |config| ... }
click to toggle source
# File lib/scout_apm_savemoney.rb, line 8 def configure yield config ApplicationController.class_eval do include ScoutApmSaveMoney::InstrumentAPercentageOfWebRequestsInScoutApm end Sidekiq.configure_server do |config| config.server_middleware do |chain| chain.add ScoutApmSaveMoney::InstrumentAPercentageOfBackgroundJobsInScoutApm end end end