That seems not possible even using ShellSpout/ShellBolt directly, since there's no way to pass metrics to register. I tracked the history, and registering method was there but got removed long time ago. 

If we can define the way correctly, Flux might be able to register metrics too.

Seems like we didn't file this issue, so I'll file one.

- Jungtaek Lim (HeartSaVioR)

2017년 2월 16일 (목) 오전 4:24, P. Taylor Goetz <>님이 작성:
Hi Marc,

Currently there is not a way to directly register metrics using Flux. It is something that is probably doable, though. Feel free to file a JIRA to add this functionality.


> On Feb 15, 2017, at 1:49 PM, Marc Zbyszynski <> wrote:
> Hello Everyone,
> I am using flux to deploy multilang topologies with a lot of FluxShellBolt instances. Do you know if there is any way to register a metric directly in the flux yaml without writing any Java code? I know that the multilang protocol supports submitting data to metrics that have been registered, but I don't see any way to register the metrics in Flux or by invoking a method on FluxShellBolt. Is that right, or am I missing something?
> Thank you for your help!
> -Marc