raynos-process-reporter

2.0.0 • Public • Published

process-reporter

Reports information about your node process to statsd. Use it like this:

var ProcessReporter = require('process-reporter');

var processReporter = ProcessReporter({
    statsd: statsdClient
});

processReporter.bootstrap();

It currently reports these stats:

  • yourapp.process-reporter.handles number of libuv handles
  • yourapp.process-reporter.requests number of libuv requests
  • yourapp.process-reporter.memory-usage.rss resident set size of procss
  • yourapp.process-reporter.memory-usage.heap-total total size of v8 heap
  • yourapp.process-reporter.memory-usage.heap-used amt of v8 heap used
  • yourapp.process-reporter.lag-sampler event loop lag

To destroy the reporter just call processReporter.destroy();

Readme

Keywords

none

Package Sidebar

Install

npm i raynos-process-reporter

Weekly Downloads

0

Version

2.0.0

License

MIT

Last publish

Collaborators

  • raynos