• /
  • EnglishEspañol日本語한국어Português
  • Log inStart now

MExN integration

MEAN, MERN, and MEVN stacks are open-source full stack software development kits. Each kit uses a single codebase to develop web applications. New Relic has consolidated all three stacks into a single quickstart. Our MExN integration makes use of the 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).

A screenshot depicting the mean mern Mevn dashboard

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

Install

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.

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.

Install the browser agent

  1. From one.newrelic.com, go to the + Integrations & Agents 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 or Vue application.

  6. Paste our browser code snippet script tag right before the body tag ends (</body>).

  7. Restart your application.

    In a couple of minutes, your application will send metrics to one.newrelic.com.

Find your data

To get your MExN dashboard:

  1. From one.newrelic.com, go to the +Integrations & Agents 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
AGO TIMESERIES

What's next?

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

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.