Introduction to New Relic for Node.js

Pinpoint and solve issues down to the line of code with Node.js monitoring from New Relic. With features like service maps and error analytics, our Node.js agent allows you to get the full picture of your app environment.

Many Node application requests are based on raw URLs. Our solution is different. New Relic for Node.js assumes it can group requests to your application into transactions instead of HTTP requests. Transactions are defined by giving one or more request paths a name. These names are used to:

  • Visualize where your app is spending its time (in transaction breakdowns).
  • Identify slow requests.
  • Group metrics.
  • Show you which portions of your application are suffering from slow database performance.

What you need

Before you install our Node.js agent, review the system requirements.

Installation

To install our agent, you need to sign up for New Relic first. It's fast and free — we won't even ask for a credit card number. Once logged in, follow the instructions or use our launcher to get data flowing in.

Extend your instrumentation

After installing the Node.js agent, extend your instrumentation:

Troubleshoot your installation

If you encounter issues with your Node.js agent, see our troubleshooting information:

You can also view all troubleshooting docs. If you need additional assistance, get support at support.newrelic.com.

Check the source code

The Node.js agent is open source software. That means you can browse its source code and send improvements, or create your own fork and build it. For more information, see the README.

For more help

If you need more help, check out these support and learning resources: