external/storm-metrics-prometheus/README.md
This module contains a reporter to push Cluster Metrics to a Prometheus Pushgateway, where it can be scraped by a Prometheus instance.
To use, edit your storm.yaml config file:
storm.daemon.metrics.reporter.plugins:
- "org.apache.storm.metrics.prometheus.PrometheusPreparableReporter"
storm.daemon.metrics.reporter.interval.secs: 10
# Configuration for the Prometheus Pushgateway
storm.daemon.metrics.reporter.plugin.prometheus.job: "job_name"
storm.daemon.metrics.reporter.plugin.prometheus.endpoint: "localhost:9091"
storm.daemon.metrics.reporter.plugin.prometheus.scheme: "http"
storm.daemon.metrics.reporter.plugin.prometheus.basic_auth_user: ""
storm.daemon.metrics.reporter.plugin.prometheus.basic_auth_password: ""
storm.daemon.metrics.reporter.plugin.prometheus.skip_tls_validation: false
In addition, ensure to put this jar as well as the required transient
dependencies for prometheus into /lib of your Storm installation.