MExN integration

MEAN and MERN stacks are open-source full stack software development kits. Both kits use a single codebase to develop web applications. New Relic has combined both stacks into a single quickstart. Our MExN integration makes use of the Browser agent, Node.js agent, and MongoDB integration to provide you with a pre-built dashboard with your most important metrics (like response time, CPU utilization, traffic, and login frequencies).

After setting up our MExN integration, we give you a dashboard for your MExN web app metrics.


Step 1 (optional): Install the infrastructure agent

Installing the infrastructure agent is optional, but doing this will get you important metrics about the host where your app is running.

To do this, follow the infrastructure agent install steps.

Step 2: Install MongoDB quickstart

  1. Check out our MongoDB agent requirements in our documentation before installing the agent.
  2. Open the MongoDB quickstart installation.
  3. Click Install now to start the MongoDB agent installation.

Step 3: Install Node.js agent

  1. Check out our Node.js agent requirements in our documentation.
  2. Open the Node.js quickstart installation.
  3. Click Install now to start the Node.js agent installation.

Step 4: Install the browser agent

  1. From, go to the Add data page.
  2. Click Browser and mobile, then click Browser monitoring.
  3. Select the Select copy/paste JavaScript code option (for more about this code, see our browser install docs).
  4. Complete the rest of the steps and click Enable.
  5. Go to the index.html file of your React application or Angular application.
  6. Paste our browser code snippet script tag right before the body tag ends (</body>).
  7. Restart your application.

In couple of minutes, your application will send metrics to

Find your data

To get your MExN dashboard:

  1. From, go to the Add data page.
  2. Click on Dashboards.
  3. In the search bar, type MExN.
  4. The MExN dashboard should appear. Click on it to install it.

Your MExN dashboard is considered a custom dashboard and can be found in the Dashboards UI. For docs on using and editing dashboards, see our dashboard docs.

For information about data reported, see the docs for each of the tools you installed:

Here's a NRQL query checking the average window load time for the various browsers used by users on desktop computers:

SELECT average(windowLoad)
FROM PageViewTiming
WHERE (deviceType = 'Desktop')
FACET `userAgentName`
SINCE 604800 seconds

What's next?

To learn more about querying your data and creating custom dashboards, check out these docs: