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