0.0.8 • Published 11 years ago
appmonitor v0.0.8
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 appmonitorUsage
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
portListening port, defaulting to5959hostListening host, defaulting to0.0.0.0
require('appmonitor').start(3000, '127.0.0.1');