nodejs amon client
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
examples
lib
README.md
package.json

README.md

amon-client

nodejs amon client

How to Install

npm install amon-client

How to use

First, require amon-client:

var Amon = require('amon-client');

use zeromq

var amon = new Amon({host:'127.0.0.1', port:5464, protocal: 'zeromq'});

amon.log('this is log transport by zeromq', 'debug');

use http

var amon = new Amon({host:'127.0.0.1', port:2464, protocal: 'http', secret_key:'key in amon.conf'});

amon.log('this is log transport by http', 'debug');