HttpForwardingMetricsServer is a real hack intended really for tests. I know I wrote it :). Please don't use it in production. You can write your own IMetricesConsumer to do whatever you want to with the metrics. https://github.com/apache/storm/blob/master/storm-core/src/jvm/org/apache/storm/metric/api/IMetricsConsumer.java
That is the correct way to get the data out. If you want to write a bridge to JMX for this that might work, but going directly to telegraph would probably be better. - Bobby On Thursday, October 6, 2016 1:43 PM, S G <sg.online.em...@gmail.com> wrote: Hi, We want to use Telegraf ( https://github.com/influxdata/telegraf/tree/master/plugins) for getting storm's metrics. But we do not want to add a HttpForwardingMetricsServer just to get the metrics and send them to telegraf. Other option is to use Jolokia (https://jolokia.org/) that can read JMX and write into telegraf. Does storm report all its metrics (including those of custom spouts/bolts) into JMX? Or spawning a HttpForwardingMetricsServer is the only option? Thanks SG