This package has been deprecated

Author message:

This module is deprecated, please use npm.im/concurix instead

concurix-monitor

0.7.5 • Public • Published

This version has been deprecated, please use npm.im/concurix instead!

concurix-monitor

Node.js Real-time Visual Profiler and Monitoring

Node.js offers phenomenal performance and scalability (particularly on modern multi and manycore servers), but subtle programming bugs can demolish performance rapidly. Concurix builds trace analysis and visualization tools that make it easy for developers to pinpoint bottlenecks and uncork parallelism.

For more information, visit www.concurix.com.

For support, email support@concurix.com.

NPM

Build Status

Installation

$ npm install concurix-monitor

Quick Start

  1. Login on to www.concurix.com/manage_projects. When you create a project, you will be assigned an account key.

  2. Include the following snippet before any other require statement:

var cx = require('concurix-monitor')({accountKey: <your account key> });
cx.start();
  1. Run your app
$ node app.js
  1. Visit www.concurix.com/dashboard -> and select your project to view performance graphs.

API

concurix-monitor(opts:Object)

Initializes tracer. The tracer automatically wraps every function found in the exports object returned by require. This allows the tracer to partially reconstruct and visualize the call tree of your running code.

The following options are suported:

  • accountKey your account key, data is collected and analyzed per account key
  • archiveInterval time in milliseconds for sending data to the cloud for analysis and visualization. Defaults to 60000 for NODE_ENV=production, 2000 (2 seconds) otherwise.

Package Sidebar

Install

npm i concurix-monitor

Weekly Downloads

6

Version

0.7.5

License

none

Last publish

Collaborators

  • dhmlau
  • 0candy
  • hacksparrow