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.

      • Related Articles

      • Method to upgrade PHP 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 ...
      • 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 ...
      • 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 ...
      • Steps to troubleshoot when no data is available for Node.Js applications.

        After adding APM Insight Node.Js agent, if you find no data available in the APM Insight Node.Js Application monitor, it could be because of probable reasons like network issues or zero traffic in your application. Kindly read through the below given ...
      • How to modify agent configuration for a specific Instance using apminsight.conf , without using Agent Configuration Profiles ?

        For Java / Ruby / Node.js agents : During upgrade to build 15060, all existing Instance-level agent configurations would be moved to an Application-level common agent configuration profile. In order to maintain an agent config for a separate instance ...