Install NodeJS

The NodeJS agent only covers applications launched by the commands : ”> node index.js”, ”> keystone index.js”, etc… .

To monitor NodeJS applications, Nudge APM provides a probe composed of two integrated elements:

nodejs

There are four steps to installing a probe on a NodeJS application:

  1. Application declaration in the Nudge APM interface
  2. Agent installation on the Windows/Linux server
  3. Agent configuration by modifying the configurationAgentNodeJS.ini file in its root folder.
  4. Checks

Application declaration

Install NodeJS Agent

The 3 installation files contain a token that allows you to download and install all packages, including OpenTelemetry, dedicated to the NodeJS agent.

⚠️ Note -> Under docker, the following lines are required for the token to be taken into account during package installation by > npm i

RUN apt install -y git

RUN apt install -y util-linux

RUN apt install -y make gcc g++ python3

RUN git config –global url.”https://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@github.com/”.insteadOf “ssh://git@github.com/”

RUN npm install

NodeJS Agent configuration

If you encounter any difficulties during installation, please do not hesitate to contact us: support@atakama-technologies.com