New Relic Real User Monitoring for single page web app [closed]
Asked Answered
S

1

5

How are people using New Relic's Real User Monitoring in single page web apps built with Backbone, AngularJS, and such?

Let's say it's a backbone frontend with a rails backend. The entry page will give us load time break down, and then as the user interacts with the page it calls additional web end points. For example, you enter via /home and when you click a link to /about it calls a web api which provides data for the page and backbone's view is updated with new dom elements. You can also go directly to /about.

  • Although there's just one controller, can New Relics provide page load time breakdown by urls (/home and /about)?
  • Once the page is loaded, can New Relic measure performance of updating part of the page, such as a backbone view? I understand the injected js can't do this, but does New Relic provide additional JS libraries to finetune measurement?

Are there any other options?

Stillas answered 1/2, 2014 at 2:27 Comment(3)
Hopefully this will get re-opened, came up as top result in Google search and was exactly what I was looking for. Try adding some additional custom reporting of certain JS events(depends on what framework you are using) based on the currently available New Relic Browser Agent APIs. Manually reporting page load timing (JavaScript API) Navigation Timing APIPalfrey
Also disappointed to see this closed. It's a pretty specific problem if you've worked on a single page app. :|Atlantean
Stop being all Vulcan. This is a good question and should be re-opened.Jeffryjeffy
I
8

I've been looking in to the same thing myself recently. The line from New Relic (or at least the line I've had in support tickets from them) is that support is very limited (particularly if you're caching your frontend).

That said, there are a few other options:

There's also Caliper (http://caliper.io) but they are yet to launch with support for Angular

UPDATE: You Should also check out the latest New Relic docs regarding supported APIs in the Browser Agent:

Manually reporting page load timing (JavaScript API)

Navigation Timing API

Ingratiating answered 4/2, 2014 at 16:24 Comment(3)
Actually Pingdom is not supporting RUM for Single Page Applications. I've just got an response from their support: "We do not currently support single page websites, we are however working on improving our service in the future.I have logged this as a feature request."Pallor
As of May 2015, Caliper has shut their doors.Manchu
You can also try atatus.com which provides RUM for web and mobile apps.Zillion

© 2022 - 2024 — McMap. All rights reserved.