Module: ScoutApm::Sampling::Controller

Includes:
Callbacks
Defined in:
lib/scout_apm/sampling/controller.rb

Constant Summary

Constants included from Callbacks

ScoutApm::Sampling::Callbacks::DEFAULT_SCOUT_APM_SAMPLING_RATE

Class Method Summary collapse

Class Method Details

.included(parent) ⇒ Object



8
9
10
# File 'lib/scout_apm/sampling/controller.rb', line 8

def self.included(parent)
  parent.before_action :sample_requests_for_scout
end