storm-statsd

2.0.1 • Public • Published

Storm StatsD Build Status

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
}

Readme

Keywords

none

Package Sidebar

Install

npm i storm-statsd

Weekly Downloads

0

Version

2.0.1

License

MIT

Last publish

Collaborators

  • andyroyle