Module: Rack
- Defined in:
- lib/patches/sql_patches.rb,
lib/mini_profiler/config.rb,
lib/mini_profiler/profiler.rb,
lib/mini_profiler/timer_struct.rb,
lib/mini_profiler/body_add_proxy.rb,
lib/mini_profiler/sql_timer_struct.rb,
lib/mini_profiler/page_timer_struct.rb,
lib/mini_profiler/profiling_methods.rb,
lib/mini_profiler/storage/file_store.rb,
lib/mini_profiler/client_timer_struct.rb,
lib/mini_profiler/storage/redis_store.rb,
lib/mini_profiler/request_timer_struct.rb,
lib/mini_profiler/storage/memory_store.rb,
lib/mini_profiler/storage/abstract_store.rb
Overview
based off github.com/newrelic/rpm/blob/master/lib/new_relic/agent/instrumentation/active_record.rb fallback for alls sorts of weird dbs
Defined Under Namespace
Classes: MiniProfiler
Class Method Summary collapse
Class Method Details
.insert_instrumentation ⇒ Object
168 169 170 171 172 |
# File 'lib/patches/sql_patches.rb', line 168 def self.insert_instrumentation ActiveRecord::ConnectionAdapters::AbstractAdapter.module_eval do include ::Rack::MiniProfiler::ActiveRecordInstrumentation end end |