Live data from Hacker News

Announcing JS Error Reporting and Ajax Timing in New Relic

blog.newrelic.com

1–10 of 14 posts

Re: Announcing JS Error Reporting and Ajax Timing in New Relic

#8

I've already got this set up. Looks like New Relic are going to be monitoring all the things! Soon

Indeed - we've already got http://newrelic.com/platform/ for monitoring things via plugins, we've got app server and mobile app monitoring, we've got server OS monitoring, and you are going to love what we've got coming with newrelic.com/software-analytics!

Re: Announcing JS Error Reporting and Ajax Timing in New Relic

#9
post #4

In the post it says they instrument the $.get callback, but that's a jQuery function. So are they instrumenting actual AJAX methods or just jQuery's? Can you get timing data for JSONP requests, which don't actually use AJAX (but jQuery hides that for you)?

We watch addEventListener to do the callback timing which jQuery uses under the covers. Any requests going through the browser's xhr interface will get instrumented and reported (this is what $.get uses).

Re: Announcing JS Error Reporting and Ajax Timing in New Relic

#10
post #9
post #4

In the post it says they instrument the $.get callback, but that's a jQuery function. So are they instrumenting actual AJAX methods or just jQuery's? Can you get timing data for JSONP requests, which don't actually use AJAX (but jQuery hides that for you)?

We watch addEventListener to do the callback timing which jQuery uses under the covers. Any requests going through the browser's xhr interface will get instrumented and reported (this is what $.get uses).

Based on what you said, it sounds like enabling this feature will have no impact on existing front-end load times. What about error reporting... are you guys satisfied with where it's at now or do you guys feel like there is more accurate and more in depth js error reporting in the future?
Post reply on HN