Skip to content

Commit

Permalink
Merge pull request brynary#19 from kjg/patch-1
Browse files Browse the repository at this point in the history
Make ActiveRecord work again
  • Loading branch information
pboling committed Mar 11, 2013
2 parents 7c78a34 + db33291 commit d60f395
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/rack/insight/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ class << self
@rails_log_copy = true
@filtered_backtrace = true
@panel_configs = {
:active_record => {:probes => {'ActiveRecord' => [:class, :allocate]}},
:active_record => {:probes => {'ActiveRecord::Base' => [:class, :allocate]}},
:active_resource => {:probes => {'ActiveResource::Connection' => [:instance, :request]}},
:cache => {:probes => { 'Memcached' => [:instance, :decrement, :get, :increment, :set,
:add, :replace, :delete, :prepend, :append],
'MemCache' => [:instance, :decr, :get, :get_multi, :incr, :set, :add, :delete],
'Dalli::Client' => [:instance, :perform] } },
:active_record => {:probes => {'ActiveRecord' => [:class, :allocate]}},
# :log_panel => The log panel configures its probes in its initializer
:sphinx => {:probes => {'Riddle::Client' => [:instance, :request]}},
:sql => {:probes => Hash[%w{ PostgreSQLAdapter MysqlAdapter SQLiteAdapter
Expand Down

0 comments on commit d60f395

Please sign in to comment.