Home / Companies / New Relic / Blog / Post Details
Content Deep Dive

Instrumenting Web Extension Views With The New Relic Browser Agent

Blog post from New Relic

Post Details
Company
Date Published
Author
Jordan Porter, Lead Software Engineer at New Relic
Word Count
695
Language
English
Hacker News Points
-
Summary

The New Relic browser agent is a tool designed to monitor the performance, errors, and user experience of web applications, including views rendered by web extensions like pop-ups, sidebars, or options pages. By installing the browser agent NPM package into a web extension project, users can collect real user monitoring (RUM) data such as page load times, Ajax requests, and JavaScript errors, which are then sent to New Relic for analysis. The installation involves adding the agent as a dependency using NPM and configuring it within the web extension code to ensure it properly collects and records data. This setup allows developers to view performance data in the New Relic dashboard, aiding in the optimization and troubleshooting of web extensions, while the blog emphasizes that the solutions presented are environment-specific and not part of New Relic's commercial offerings.