Metrics for your storm cluster
StormCell integrates Metrics and Storm, providing a simple web console for your Storm workers.
HTTP routes available for each worker process:
/metrics: Prints all metrics for the VM. Supports?pretty=true./healthcheck: Runs all registered healthchecks for the VM. Supports?pretty=true./threads: Dumps all threads in the VM./ping: Prints "pong" if the process is alive.
- Clone the source
- Run
mvn packagein the project directory - Copy
target/stormcell-0.2.0.jarto your supervisor nodes - Edit
storm.yamland addstormcell-0.2.0.jaror its containing folder tojava.library.path - Edit
storm.yamland addtopology.auto.task.hooks: "org.jodah.stormcell.StormCellTaskHook" - Restart your supervisors
By default, the web console ports for each worker will be based off of the worker port numbers, starting at 7000:
webConsolePort = 7000 + (workerPort % 100)
To configure specific web console ports for each worker, edit storm.yaml to include worker.webconsole.ports that correspond to each worker port (keyed by worker port):
worker.webconsole.ports:
6700: 7000
6701: 7001
6702: 7002
6703: 7003
Thanks for Ooyala for the initial concept.
Copyright 2013 Jonathan Halterman - Released under the Apache 2.0 license.