Module: AppProfiler::Sampler

Defined in:
lib/app_profiler/sampler.rb,
lib/app_profiler/sampler/config.rb,
lib/app_profiler/sampler/vernier_config.rb,
lib/app_profiler/sampler/stackprof_config.rb

Defined Under Namespace

Classes: Config, StackprofConfig, VernierConfig

Class Method Summary collapse

Class Method Details

.profile_params(request, config) ⇒ Object



7
8
9
10
11
# File 'lib/app_profiler/sampler.rb', line 7

def profile_params(request, config)
  return unless sample?(config, request)

  get_profile_params(config)
end