npm.im/concurix instead!
This version has been deprecated, please useconcurix-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.
Installation
$ npm install concurix-monitor
Quick Start
-
Login on to www.concurix.com/manage_projects. When you create a project, you will be assigned an account key.
-
Include the following snippet before any other
require
statement:
var cx = accountKey: <your account key> ;cxstart;
- Run your app
$ node app.js
- 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 keyarchiveInterval
time in milliseconds for sending data to the cloud for analysis and visualization. Defaults to 60000 forNODE_ENV=production
, 2000 (2 seconds) otherwise.