Sha256: 3373dea7a0cd999212156e7d5926d50993b1b3894531eb3997d9a9b71a2dd379
Contents?: true
Size: 621 Bytes
Versions: 18
Compression:
Stored size: 621 Bytes
Contents
module BuilderApm class Engine < ::Rails::Engine isolate_namespace BuilderApm initializer 'builder_apm.start' do |app| BuilderApm::Controllers::Instrumenter.new.start if BuilderApm.configuration.enable_controller_profiler 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' end end end end
Version data entries
18 entries across 18 versions & 1 rubygems