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.
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:
- VM measurements: Install an additional native module to view detailed VM statistics.
- Enable distributed tracing.
- Custom instrumentation: Implement Node.js custom instrumentation.
- Collect custom metrics: Collect custom metrics via an API call.
- Node.js agent API: Use the API to control, customize, or extend the functionality of the Node.js agent.
- Browser timing process: Integrate the agent with browser monitoring to gain visibility into user activity.
- Open source telemetry: You can use our Node Telemetry SDK to create your own integrations.
Troubleshoot your installation
If you encounter issues with your Node.js agent, see our troubleshooting information:
- Large memory usage: If you've installed the Node.js agent and your memory usage has increased, check out these possible solutions.
- Troubleshooting your Node.js installation: Try these steps if you don't see any data, cannot log files, or encounter other installation problems with the Node.js agent.
- Troubleshooting Browser instrumentation: If you encounter problems with Browser data, see these additional tips for Node.js.