fuzzy-rotary-phone

0.1.9 • Public • Published

fuzzy-rotary-phone

A simple npm package to add heroku runtime metrics to an existing node.js application.

Usage

$ npm install --save fuzzy-rotary-phone

And then in the main file of each process you want monitored add:

require("fuzzy-rotary-phone");

Metrics collected

{
  "counters": {
    "node.gc.collections": 0,
    "node.gc.pause.ns": 0
  },
  "gauges": {
    "node.heap.inuse.bytes": 12472640,
    "node.heap.total.bytes": 17158144,
    "node.heap.limit.bytes": 1501560832
  }
}

See https://github.com/Xe/fuzzy-rotary-phone/blob/master/src/index.js#L4 for more explanation on the individual metrics being monitored.

Readme

Keywords

none

Package Sidebar

Install

npm i fuzzy-rotary-phone

Weekly Downloads

0

Version

0.1.9

License

ISC

Unpacked Size

6.86 kB

Total Files

6

Last publish

Collaborators

  • xena