Module: Sunspot::Rails::SolrInstrumentation::InstanceMethods
- Defined in:
- sunspot_rails/lib/sunspot/rails/solr_instrumentation.rb
Instance Method Summary (collapse)
Instance Method Details
- (Object) execute_with_as_instrumentation(path, params = {}, *extra)
11 12 13 14 15 16 |
# File 'sunspot_rails/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 |