/inspectit.agent.nodejs

NodeJS Agent for inspectIT

Primary LanguageJavaScript

NodeJS Agent for inspectIT

This is an experimental agent for inspectIT to gather data and trace requests from and over NodeJS applications.

At the moment, the duration and parameter of requests handled by express and send by the http module can be captured.

In order to use the agent, add the following code at the beginning of the NodeJS application.

require('./src/inspectit-agent.js').init({
  cmrHost: '127.0.0.1',
  cmrPort: 8182,
  logDirectory: './logs'
});