Today marks a special and proud day at New Relic. Adoption of single-page application architectures is skyrocketing, creating a need for new monitoring solutions. More than just a handful of frameworks, the single-page application (SPA) concept allows developers to create faster, more responsive, and more interactive applications. As great as SPAs are, however, they pose a significant challenge to Real User Monitoring (RUM)—a challenge met by today’s launch of our public beta of SPA monitoring in New Relic Browser.
SPA wreaks havoc with RUM
The result of this misalignment between traditional RUM and SPAs is a lack of visibility into the majority of the user experience, and sometimes the little data you do have can be misleading.
How New Relic addresses the SPA challenge
Today, New Relic fills that gap. We are happy to announce the public beta of single-page application monitoring in New Relic Browser. Our low-level, framework-agnostic instrumentation is designed to monitor SPA initial page loads and route changes out of the box, so that developers can monitor any client-side interaction with a new SPA-inspired API.
In New Relic Browser, route changes are defined by a set of criteria we designed to determine when a developer intends to present an entirely new view to the end user. You may want to monitor more than that, however, and we’ve provided an API to let you do so. With the New Relic Browser SPA API, you can monitor virtually anything that executes in the browser. Any user interaction, from the refresh of a single widget on a page to the auto-suggest in a search box … we can monitor it with the same level of detail and automatic capture of AJAX requests and other components as you’ll find in our out-of-the-box initial page load and route change monitoring.
Finally, we also address the Initial Page Load time issue. Saying a page was done when the Window Load Event fires no longer matches the user experience in many applications, where widgets, components, image spinners, and videos are often still loading long after the Window Load Event. So our new SPA-style monitoring goes beyond the Window Load event to include AJAX response time, reporting page load performance as the time when the view is complete, not just when the window load event fires.
Analytics-first, analytics-only in New Relic Insights
Finally, all of this data is available immediately in New Relic Insights. SPA monitoring with New Relic Browser is an analytics-first, analytics-only experience. We drive the New Relic Browser UI from Insights events, and we offer those same events for you to explore at your leisure with NRQL (New Relic Query Language). New Relic Browser Pro subscribers who have opted in to SPA monitoring can get up to eight days of historical data in Insights for free and can see the BrowserInteraction and AjaxRequest event types. New Relic Insights Pro subscribers can to see longer periods of time—matching their subscription level—revealing longer-term trends and allowing period-over-period comparisons, just like you are used to with the PageView event type.
Private beta customers are already finding value in the new feature. John Swindell, vice president of operations at Bionic Advertising Systems, explains the importance of tracking single-page applications:
“Bionic’s platform enables marketers to build dynamic, multi-channel digital media plans for their customers. The use of single-page applications allows us to deliver a seamless workflow for our customers, but were a black box for us in being able to pinpoint performance issues. New Relic Browser’s support for single-page applications is key to what we’re doing at Bionic and implementing it within our application was very easy. We now have insight into the performance of route changes in the application allowing us to optimize and ultimately create the best end-user experience.”
So, have we piqued your interest? Are you ready to monitor 100% of user interactions in your SPA, rather than just the 10% that traditional RUM monitoring covers?
SPA monitoring has been tested for months
When you opt into SPA monitoring with New Relic Browser, you won’t be alone. More than 40 customers around the world have been using the features in private beta for the past 5 months. These customers use a variety of frameworks and libraries, including Angular 1/2, React, Backbone, Ember, custom SPAs, and more. And they have benefited from our framework-agnostic approach, which offers deeper visibility without having to worry about compatibility. Just as important, even if tomorrow’s framework du jour is different than today’s, you won’t have to worry: New Relic will still have you covered!
To get started, fire up New Relic Browser or ask your account team for a Browser Pro Trial so you can experience it for yourself. Or to learn more, check out our documentation:
This post contains “forward-looking” statements, as that term is defined under the federal securities laws, including but not limited to future enhancements and benefits therefrom, the benefits of our new features to our customers resulting from SPA alerting and any features or benefits related thereto, and the timing and availability of such features. The achievement or success of the matters covered by such forward-looking statements are based on New Relic’s current assumptions, expectations, and beliefs and are subject to substantial risks, uncertainties, assumptions, and changes in circumstances that may cause New Relic’s actual results, performance, or achievements to differ materially from those expressed or implied in any forward-looking statement. Further information on factors that could affect New Relic’s financial and other results and the forward-looking statements in this blog post is included in the filings New Relic makes with the SEC from time to time, including in New Relic’s most recent Form 10-K, particularly under the captions “Risk Factors” and “Management’s Discussion and Analysis of Financial Condition and Results of Operations.” Copies of these documents may be obtained by visiting New Relic’s Investor Relations website at http://ir.newrelic.com or the SEC’s website at www.sec.gov. New Relic assumes no obligation and does not intend to update these forward-looking statements, except as required by law.