At New Relic, we are on a mission to make the lives of every engineer easier. That’s why, back in mid-2020, we announced that we are taking an open sourced approach to instrumentation to make it easier to gather complete telemetry from software and systems. We open sourced several of our agents at the time and pledged to open source our New Relic Browser agent in 2021. Recently, we doubled-down on our open source commitment with the announcement that we are now a Platinum member of the Cloud Native Computing Foundation (CNCF) and Zain Asgar, GM of Pixie and New Relic Open Source, is joining the CNCF governing board.
This month we continued our open source mission with the announcement that our browser real user monitoring agent is now open source. The open sourced New Relic Browser agent source code can be found here on New Relic’s GitHub organization: newrelic-browser-agent. By open sourcing our Browser agent, we believe it will provide you with complete transparency about the code you deploy to your systems. We can also better engage with you on your feedback and accelerate innovation and quality of our browser monitoring product.
What is New Relic’s Browser agent?
New Relic’s Browser agent offers real user monitoring (RUM), collecting data from real user sessions to understand application performance. The Browser agent monitors users as they navigate from web browsers, devices, operating systems, and networks. It identifies issues such as slow page loads, javascript errors, slow AJAX requests, or even slow route changes in single-page application (SPA) architectures that you can take action on to improve the customer experience.
The Browser agent also shows page view popularity and captures user satisfaction (Apdex). It monitors session performance with a detailed timeline and heat map of the load and interaction events during a webpage's full life cycle.
Go beyond page performance to track user perception
While real user data gives insights into page performance, the Browser agent goes further, giving visibility into your users' perception of your site's performance. Pages can load content in many different ways, and users control when they interact with that content. This is why some user-centric performance metrics happen outside the standard window onload (page load time) in the browser monitoring agent. We have included perceived performance metrics into the agent so that you know what your users are experiencing. Specifically, Google’s Core Web Vitals and metrics such as Largest Contentful Paint (LCP), First Input Delay (FID), and Cumulative Layout Shift (CLS).
Finally, the Browser agent takes a full-stack observability approach through its use of distributed tracing (DT). Use our SPA agent and turn on DT to follow requests from browser activity to time spent in network to backend activity.
How to set up and contribute to the Browser agent
Ready to start contributing to the Browser agent?
- First, instrument your site. Check out this short video on how to add browser instrumentation to your site in minutes.
- After you instrument your site, there are a few steps to start contributing to the Browser agent:
- Navigate to our Open Source site to review all of the open projects. Or you can go directly to our Browser agent page to get started.
- Next, read the Contributor’s Guide (or quickly review the following screen capture):
- After that, it’s up to you what you want to contribute. You can request a new feature or report a bug. Submit on the Issue Tracker, or fork a repository to start contributing right away.
To learn how to install, configure, and test the Browser agent, and walk through submitting an issue or pull request, see Nerdlog Roundup: Our Browser Monitoring Agent Is Open Source.
다음 단계
You can get started with contributing feedback and increasing the innovation and quality of our browser monitoring product at any time. Want a step-by-step guide to contributing to open source? Check out our Beginner’s Guide. Or dive right in by going to the New Relic Browser agent open source project.
이 블로그에 표현된 견해는 저자의 견해이며 반드시 New Relic의 견해를 반영하는 것은 아닙니다. 저자가 제공하는 모든 솔루션은 환경에 따라 다르며 New Relic에서 제공하는 상용 솔루션이나 지원의 일부가 아닙니다. 이 블로그 게시물과 관련된 질문 및 지원이 필요한 경우 Explorers Hub(discuss.newrelic.com)에서만 참여하십시오. 이 블로그에는 타사 사이트의 콘텐츠에 대한 링크가 포함될 수 있습니다. 이러한 링크를 제공함으로써 New Relic은 해당 사이트에서 사용할 수 있는 정보, 보기 또는 제품을 채택, 보증, 승인 또는 보증하지 않습니다.