Module: Sunspot::Rails::SolrInstrumentation
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/sunspot/rails/solr_instrumentation.rb
Instance Method Summary collapse
Instance Method Details
#execute_with_as_instrumentation(path, params = {}, *extra) ⇒ Object
11 12 13 14 15 16 |
# File 'lib/sunspot/rails/solr_instrumentation.rb', line 11 def execute_with_as_instrumentation(path, params={}, *extra) ActiveSupport::Notifications.instrument("request.rsolr", {:path => path, :parameters => params}) do execute_without_as_instrumentation(path, params, *extra) end end |