You could write your own custom metrics consumer perhaps:
https://github.com/apache/storm/blob/master/storm-core/src/jvm/backtype/storm/metric/LoggingMetricsConsumer.java

On Wed, Oct 28, 2015 at 4:11 PM, #ZHANG SHUHAO# <[email protected]>
wrote:

> Hi,
>
>
>
> Thanks for your help, I will consider this solution, but it would better
> to directly retrieve that information, for example, I want one of my bolt
> periodically read that information.
>
> I will try to wrap it in to my bolt, this could be a solution but it’s not
> so **native**. Anyway, I will try it first,  thanks a lot for your help
> again.
>
>
>
> *From:* Santosh Pingale [mailto:[email protected]]
> *Sent:* Wednesday, October 28, 2015 4:00 PM
> *To:* [email protected]
> *Subject:* Re: Obtain the information of storm's builtin metrics
>
>
>
> What about a REST API which you can consume directly from most of the
> languages.
>
> https://github.com/apache/storm/blob/master/STORM-UI-REST-API.md
>
>
>
>
>
>
>
> On Wed, Oct 28, 2015 at 12:08 PM, #ZHANG SHUHAO# <[email protected]>
> wrote:
>
> Any helps?
>
> Basically, I want my program read that information instead of looking at
> the storm UI all the time.
>
>
>
> *From:* #ZHANG SHUHAO#
> *Sent:* Sunday, October 25, 2015 12:44 PM
> *To:* '[email protected]' <[email protected]>
> *Subject:* Obtain the information of storm's builtin metrics
>
>
>
> Hi,
>
>
>
> I wondering any methods to obtain those information (that appears in Storm
> UI) in my program (instead of exposing to storm UI).
>
> I have checked a few related blogs, but they are mainly discussing how to
> use the metric UI to build our own metric updates in spout or bolt and
> expose to say, log.
>
> Instead of building my own, I just want to get the information that are
> exposed (internally) to Storm UI, so I would like to see a simple trick to
> do that. Any hints? help?
>
>
>
> Thanks.
>
>
>
> Tony.
>
>
>

Reply via email to