storm-statsd
v2.0.1
Published
pull info from storm http-api and publish to statsd
Downloads
10
Readme
Storm StatsD
A little app that will poll one or more storm instances and push their statistics out to statsd.
Uses the storm-ui rest api.
npm i -g storm-statsd
storm-statsd /path/to/config/files/
###Gauges
Per component (bolts + spouts)
- errorLapsedSeconds
- emitted
- transferred
- acked
- executeLatency
- processLatency
- failed
- executors
- tasks
- capacity
###Config Files
###storm.json
[
{
"host": "https://my.storm.cluster",
"username": "user",
"password": "password", // optional
"prefix": "foo.bar.storm.yay", // optional prefix for metrics from this instance
"tags": { // optional, tags are supported by the influxdb backend
"foo": "bar"
}
},
{
//...
}
]
###statsd.json
{
"host": "localhost",
"port": 8125, // default: 8125
"interval": 10, // how often to poll the storm servers, default: 10 seconds
"debug": true, // show debug output from the statsd client
"prefix": "my.stats" // global prefix for metrics
}