storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romeo Nocon <>
Subject Re: Is there a way to register metrics in flux yaml
Date Thu, 16 Feb 2017 18:56:13 GMT

I'm using an older version of storm (0.9.4) and flux so I'm not sure this
will work on newer versions.  I also don't know anythign about
FluxShellBolts.  That said I put "topology.metrics.consumer.register" in
the config section of flux file. Yes it's a hack.



  - class: ""

    parallelism.hint: ${topo.metrics.graphite.parallelism}

Then I let the code do the rest.  Below is a quick grep of some relevant

grep -ir topology.metrics.consumer.register *

storm-core/src/jvm/org/apache/storm/    public static final

storm-core/src/jvm/org/apache/storm/        List l =


List<Map<String, Object>> registerInfo = (List<Map<String, Object>>)

On Wed, Feb 15, 2017 at 11:24 AM, P. Taylor Goetz <> wrote:

> 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.
> -Taylor
> > 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

View raw message