appmonitor
v0.0.8
Published
Performance profiler based on look
Downloads
76
Maintainers
Readme
AppMonitor
AppMonitor is base on Look. Look is a perfomance profiler for node.js applications based on nodetime.
AppMonitor just collect performance and send message by Socket.IO then any socket.IO client can receive those performance data and re-send any where.
Installation
npm install appmonitor
Usage
The following call should be placed before any other require statement in your application, e.g. at the first line of your main module
require('appmonitor').start();
AppMonitor will be started as a web server on port 5959
, you can access it by pointing your browser to: http://[yourhost]:5959
AppMonitor also binding this port as a websocket server, then any websocket client can conneting it and get performance data.
Options
port
Listening port, defaulting to5959
host
Listening host, defaulting to0.0.0.0
require('appmonitor').start(3000, '127.0.0.1');