1.1.6 • Published 3 years ago

atomonitor v1.1.6

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

atoMonitor

atoMonitor will send metrics to a remote server to monitor your system loads._

Installation

npm install --save atomonitor

Usage

Import the monitor

import Monitor from 'atomonitor';

Initialize the monitor to start reporting

Monitor.initialize('systemName', 'http://atomonitor.example.com/api/reports', true);

Example

import Monitor from 'atomonitor';
import * as express from 'express';
let app = express();
Monitor.initialize('fixit', 'http://atomonitor.example.com/api/reports', true);
app.listen(8747, () => {
    console.log(`atomonitor example.`);
});

API

Class Monitor

initialize

Monitor.initialize(systemName: string, monitorUrl: string, verbose?: boolean);
  • verbose will print debugging and errors.
1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago