newrelic-grape icon indicating copy to clipboard operation
newrelic-grape copied to clipboard

Newrelic-grape responsible for most of the response time?

Open monfresh opened this issue 11 years ago • 2 comments

I'm trying to figure out if I'm using this gem correctly or if I'm missing something that's not mentioned in the documentation. I installed the gem, making sure to place it after grape and newrelic_rpm, and when I drill down on an API call, it points to the newrelic-grape code as the source of the most time spent on the query. When I click on GET api-locations-:locations_id-nearby on this page: http://d.pr/i/hy7Z it takes me here: http://d.pr/i/XsKg

Does that mean that the perform_action_with_newrelic_trace(trace_options) do block is what's taking up 162 out of 193ms?

I was expecting it to show me which part of the Grape API call is taking the most time.

monfresh avatar Sep 26 '13 03:09 monfresh

@monfresh looks like most time are taken to send http get request.

flyerhzm avatar Sep 26 '13 15:09 flyerhzm

Could be closed.

dmitry avatar Sep 22 '15 07:09 dmitry