@middleware.io/node-apm
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

Middleware Node APM

Introduction

@middleware.io/node-apm is the official Middleware client for Node.js that sends your runtime metrics, traces/spans, and custom logs to Middleware.io.

Example

const tracker = require('@middleware.io/node-apm');
tracker.track({
    projectName:"Your application name",
    serviceName:"Your service name",
})

tracker.error(new Error('your error message'));

tracker.info('your info messaege');

tracker.warn('your warning message');

tracker.debug('your debug message');

Readme

Keywords

none

Package Sidebar

Install

npm i @middleware.io/node-apm

Weekly Downloads

347

Version

2.1.0

License

ISC

Unpacked Size

54.4 kB

Total Files

25

Last publish

Collaborators

  • meghraj-middleware
  • middleware-dev