Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 563 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 563 Bytes

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');