concurix-monitor

Concurix monitoring agent

npm install concurix-monitor
4 downloads in the last day
93 downloads in the last week
374 downloads in the last month

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 sublte 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

david-dm david-dm

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();
    
  3. Run your app

    $ node app.js
    
  4. 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.
npm loves you