Method to upgrade Node Js Agent

Method to upgrade Node Js Agent

Manual upgrade from user terminal:                                                                                                  

To upgrade the APM Insight Node.js agent, follow these instructions:           
  1. Stop the Node.js application.
  2. Access the node package manager (NPM).
  3. Navigate to the application root directory of the application for which you want to upgrade the agent.
  4. First, you need to uninstall the old version of the agent by entering the below command:                              
npm uninstall apminsight
  1.  Now, from the same directory, run the following command to install the new version of the agent
npm i apminsight@<version>
                        Note: The version is the three-digit version number of the new version that you are installing; for example, for version 4.1.1,
                            Syntax:                                   
npm i apminsight@4.1.1
  1. Restart the Node.js application.

                  New to ADSelfService Plus?

                    • Related Articles

                    • Folder path to view the Node.js agent logs

                      By default, the logs generated by the Node.js agent are stored in the apminsightdata folder, which resides in your application's current working directory. The log files can be found at: <app-path>\apminsightdata\logs If you would like to customize ...
                    • Method to Upgrade .Net Agent

                      Manual upgrade from user terminal: Whenever a new version of the agent goes live, it will be listed on this APM Insight Download page. The latest agent can also be downloaded from AppManager web client's APM -> Add new Monitors page Once the latest ...
                    • How to install Node.js without an internet connection

                      Follow the steps given below to install the Node.js agent in your Node.js application side without pulling the NPM package from the internet Download and extract this attached agent which has an agent dependency package: https-proxy-agent v5.0.0 Open ...
                    • Managing Node.js applications using PM2 Process Manager

                      Configure PM2 Process Manager to manage Node.js applications Follow the instructions given below to configure PM2 Process Manager to manage Node.js applications: Configure the processManagerEnabled key in the already created apminsightnode.json file. ...
                    • Method to upgrade .NET Core Agent

                      Manual upgrade from user terminal: Whenever a new version of the agent goes live, it will be listed on this APM Insight Download page. The latest agent can also be downloaded from AppManager web client's APM -> Add new Monitors page Once the latest ...