storm-statsd

pull info from storm http-api and publish to statsd

Usage no npm install needed!

<script type="module">
  import stormStatsd from 'https://cdn.skypack.dev/storm-statsd';
</script>

README

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
}