Start Monitoring Node.js

With just a few steps, you can start monitoring your Node.js applications in AppDynamics. A Getting Started wizard makes it easy to start gathering useful information about your application, whether you use a SaaS Controller or if you download and install the AppDynamics Controller to your own environment. If the Node.js app forms a single tier in a larger, distributed application architecture, you'll see where it sits in that architecture.

Video Thumbnail

The AppDynamics Node.js agent does all the work of instrumenting the application, collecting metrics and reporting those metrics to the Controller. You'll be adding the agent to your application using npm. 

To get started, you will need:

  • An AppDynamics Controller. Getting a SaaS Controller is easy. Just sign up for an account and start a trial. It's free. No credit card required.
  • Once you sign up, you'll receive a welcome email with instructions on how to log on to your Controller. From there, the Getting Started Wizard guides you through the remaining steps.
And you are all set to configure the agent...

To instrument your application, you put a require statement as the first line of your server.js. The Getting Started wizard builds this for you, so you just need to cut and paste it into your application code.

Follow the instructions in your welcome email from AppDynamics, which takes you to your Controller's Getting Started wizard. Select "Node.js" as the application type and follow the instructions to instrument your app and connect to the Controller. Your controller details will already be filled in for you, so choose how you want to name your application, tier and node and you're good to go! 

The AppDynamics agent allows you to monitor your Node.js applications in production so you get real-time visibility of server health, application performance, and resource metrics. The agent is available using npm. The wizard gives you the exact npm command to run. Once you've installed the agent, cut and paste the require statement generated by the wizard into your server.js file and your app is fully instrumented.

Stop and restart the application to have your code changes take effect. The Getting Started wizard shows your application connecting to the Controller. Once you put load on your Node.js application, you'll see your app reporting to the AppDynamics Controller within a minute or so.  

When reporting in the wizard, click Continue to view your app in your Controller's application dashboard.  If you have trouble making the initial connection, not to worry, the wizard suggests a few simple things to check that usually do the trick.

https://vimeo.com/159118169

Introduction

With just a few steps, you can start monitoring your Node.js applications in AppDynamics. A Getting Started wizard makes it easy to start gathering useful information about your application, whether you use a SaaS Controller or if you download and install the AppDynamics Controller to your own environment. If the Node.js app forms a single tier in a larger, distributed application architecture, you'll see where it sits in that architecture.

Before starting

The AppDynamics Node.js agent does all the work of instrumenting the application, collecting metrics and reporting those metrics to the Controller. You'll be adding the agent to your application using npm. 

To get started, you will need:

  • An AppDynamics Controller. Getting a SaaS Controller is easy. Just sign up for an account and start a trial. It's free. No credit card required.
  • Once you sign up, you'll receive a welcome email with instructions on how to log on to your Controller. From there, the Getting Started Wizard guides you through the remaining steps.
And you are all set to configure the agent...

Add a few lines of code

To instrument your application, you put a require statement as the first line of your server.js. The Getting Started wizard builds this for you, so you just need to cut and paste it into your application code.

Follow the instructions in your welcome email from AppDynamics, which takes you to your Controller's Getting Started wizard. Select "Node.js" as the application type and follow the instructions to instrument your app and connect to the Controller. Your controller details will already be filled in for you, so choose how you want to name your application, tier and node and you're good to go! 

Install AppDynamics agent

The AppDynamics agent allows you to monitor your Node.js applications in production so you get real-time visibility of server health, application performance, and resource metrics. The agent is available using npm. The wizard gives you the exact npm command to run. Once you've installed the agent, cut and paste the require statement generated by the wizard into your server.js file and your app is fully instrumented.

Restart the application

Stop and restart the application to have your code changes take effect. The Getting Started wizard shows your application connecting to the Controller. Once you put load on your Node.js application, you'll see your app reporting to the AppDynamics Controller within a minute or so.  

When reporting in the wizard, click Continue to view your app in your Controller's application dashboard.  If you have trouble making the initial connection, not to worry, the wizard suggests a few simple things to check that usually do the trick.