@germainapm/nodejs-monitoring
TypeScript icon, indicating that this package has built-in type declarations

2022.3.2 • Public • Published

Germain APM NodeJS Monitoring

This library is a plugin for Node.js applications to send monitoring information to Germain APM.

The main features of the Germain APM Node.js monitoring are:

  • Error and Exception monitoring
  • Warning monitoring
  • Exit monitoring
  • HTTP monitoring
  • Express monitoring
  • Event loop latency monitoring
  • Startup duration monitoring
  • Transaction monitoring
  • Process resources monitoring
  • OS resources monitoring
  • Disk monitoring
  • Multiple promise resolve/rejection monitoring

Installation

with npm

npm i @germainapm/nodejs-monitoring

with yarn

yarn add @germainapm/nodejs-monitoring

Initialization

Initialize Germain APM monitoring in your main application javascript file (e.g. server.js). In the simplest integration only the beacon URL (where the monitoring data will be sent - contact the germain Team if you don't know it) must be provided and the rest will be autoconfigured.

Integration example using RequireJS:

const GermainAPM = require('@germainapm/nodejs-monitoring');

const config = GermainAPM.getDefaultConfiguration('http://GERMAIN_APM_SERVER/');
const apm = new GermainAPM(config);
apm.start();

Integration example using ES6:

import GermainAPM from '@germainapm/nodejs-monitoring';

const config = GermainAPM.getDefaultConfiguration('http://GERMAIN_APM_SERVER/');
const apm = new GermainAPM(config);
apm.start();

Configuration

All configuration options can be found here.

Other

Package Sidebar

Install

npm i @germainapm/nodejs-monitoring

Weekly Downloads

18

Version

2022.3.2

License

https://cloud.germainapm.com/agreement.jsp

Unpacked Size

185 kB

Total Files

5

Last publish

Collaborators

  • mhok
  • bkowalski
  • chall
  • davidscott