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

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

/@middleware.io/node-apm/

    Package Sidebar

    Install

    npm i @middleware.io/node-apm

    Weekly Downloads

    280

    Version

    2.1.1

    License

    ISC

    Unpacked Size

    55.5 kB

    Total Files

    25

    Last publish

    Collaborators

    • meghraj-middleware
    • middleware-dev