
- Npm config set version how to#
- Npm config set version install#
- Npm config set version code#
- Npm config set version windows#
The new node should appear in the flow map for the business application you specified in the configuration.

To verify the installation, restart the application and put load on it. In general, the require(“appdynamics”) statement should occur as early as possible in the code. If it is not possible to place the require statement as the first line of code, you can insert the statement elsewhere, but it must occur before the require() of any core or third party module that needs to be instrumented. In this case, you would need to modify your point-of-entry source file this it can be just a single line to the require() the file that you place the call to the agent into for example, require(“”. You could also parameterize the profile() call to name different instances without having to have multiple versions of the agent initialization script. You can place the require statement as the first line in the require statement of another module that appears as the first line of code.
Npm config set version install#
To install the latest agent, run the following command:įor reference information on the settings, along with other settings you can use, see Node.js Settings Reference. Refer to Agent and Controller Compatibility to determine which versions of the Node.js Agent are compatible with your Controller. If you are using Node.js 0.8.1 through 0.8.18, see Set User Agent for Node.js 0.8.1 through 0.8.18 before running the install command. To install the agent, run the install command in the directory of your application and add a require command to add the agent module to your application. If you do, the Node.js Agent may fail to register.


Npm config set version windows#
It populates the statement with the connection settings for the Controller and the values you provide for the wizard to model the Node.js application in AppDynamics.įor installation on Windows, see Supported Environment for your version of Windows and install the Visual C++ Redistributable for Visual Studio 2015. The Getting Started Wizard in the Controller generates the require statement for you.
Npm config set version code#
In addition to running the AppDynamics Controller, you need to have write access to the application source code and the ability to restart the Node.js application, which installs the agent. You must add a require statement to the source code of your Node.js application to install the Node.js Agent.

The wizard constructs a pre-configured require statement for the agent based on your input. The Getting Started Wizard in the Controller provides the easiest way to get started with the AppDynamics Node.js Agent.
Npm config set version how to#
This page provides instructions on how to install the Node.js Agent.
