Apache Storm IMetricsConsumer implementation for influxdb (> 0.9)
- Clone this repo
- Build the jar using maven :
mvn package
- Copy the built jar from target to storm lib directory :
cp target/storm-metrics-influxdb*.jar $STORM_INSTALL_DIR/lib/
- Restart your storm supervisors and workers
topology.metrics.consumer.register:
- class: "fr.boniface.storm.metrics.influxdb.InfluxDBMetricsConsumer"
parallelism.hint: 1
argument:
metrics.reporter.name: "fr.boniface.storm.metrics.influxdb.InfluxDBMetricsConsumer"
metrics.influxdb.url: "http://HOSTNAME:PORT"
metrics.influxdb.username: "USERNAME"
metrics.influxdb.password: "PASSWORD"
metrics.influxdb.db: "DATABASE"
metrics.influxdb.measurement.prefix: "PREFIX"