lib/builder_apm/engine.rb in builder_apm-0.5.11 vs lib/builder_apm/engine.rb in builder_apm-0.5.12
- old
+ new
@@ -3,9 +3,10 @@
isolate_namespace BuilderApm
initializer 'builder_apm.start' do |app|
BuilderApm::Controllers::Instrumenter.new.start
BuilderApm::Models::Instrumenter.start if BuilderApm.configuration.enable_active_record_profiler
+ BuilderApm::Methods::Instrumenter.new.start if BuilderApm.configuration.enable_methods_profiler
end
config.after_initialize do
Rails.application.routes.append do
mount BuilderApm::Engine => '/builder_apm'