black-pearl
Metrics collector that push metrics to Elastic Search + Kibana.
Getting started
Run server :
black-pearl
Push metric from client :
var client = ;client;
View metrics in Kibana :
Install
npm install black-pearl
Usage
CLI
Usage: black-pearl [options]
Options:
-h, --help output usage information
-V, --version output the version number
-p, --port [port] Http port.
-e, --eshost [host] Elastic search host, default 9400.
Node
var Server = Server; var server = es: host: 'elasticsearch1' ;server;
Push metrics
To push metrics, you must use the black-pearl-client module, it's very easy.
var blackPearl = ;var client = blackPearl; client;
Debug mode
To enter in debug mode and view some logs, you have to set the DEBUG env variable.
DEBUG=true black-pearl
License
MIT