We're including the time it takes to process the response body but our event name implies it's the stats will be for requests only. You could wrap just the request part:

```rb
options  = { query: query, locale: I18n.locale, limit: LIMIT }
response = ActiveSupport::Notifications.instrument(EVENT_NAME, options) do
  connection.get('search.json', options)
end

response.body['searchResults'].map do |result_data|
  #...
end

However, given that we already have an instrumentation middleware for all connections we could just use that instead and not have to include additional instrumentation for this object.