/storm_exporter

prometheus exporter for apache storm metrics

Primary LanguagePythonApache License 2.0Apache-2.0

prometheus-storm-exporter

A prometheus exporter for apache storm metrics

Exports storm metrics exposed by the storm-ui rest interface

Quick Start (with Grafana as frontend)

docker-compose up -d
  • Login to http://localhost:3000/ (user:admin, password: admin)
  • Create new dashboard
  • Add storm-metrics to dashboard (choose prometheus as data source)

Usage

As python script:

storm-metrics-consumer.py [StormUI Host] [HTTP port of the consumer] [Refresh Rate in Seconds]

As docker container:

docker build -t storm_exporter .
docker run --rm -e STORM_UI_HOST=storm-ui:8080 -e REFRESH_RATE=5 -p 8000:8000 --name storm_exp storm_exporter

Notes