sets-apm
v0.0.3
Published
A package for monitoring application
Downloads
3
Readme
Official package for sets application monitoring .
Installation
You can install this package using npm:
npm install sets-apm
Setup and usage
const Tracker = require("sets-apm");
// create tracker instance
const tracker = new Tracker('key') // replace key
// for tracking some event
tracker.track({ event: 'checkout', id: '[email protected]', data: { key: 'value' }})
// for specific identification
tracker.identify({ id: '[email protected]', data: { key: 'value' }})