Hi, Ok. Thanks. How can I enable UI presentation? I would like to see metrics on UI not in worker log.
Thanks, Ferenc On Wed, Sep 2, 2015 at 6:37 AM, Hong Jeon <[email protected]> wrote: > Storm UI will only show built-in metrics by default. The metrics consumer > you are registering is actually writing your metrics to a log file. > > On Wed, Sep 2, 2015 at 12:03 AM, Ferenc Turi <[email protected]> wrote: > >> Hi, >> >> I have seen some web pages about storm metrics but in the 0.10.0-beta1 >> version the Strom UI does not show anything. >> >> What I did: >> >> I registered the LoggingMetrics consumer on the topology configuration: >> >> conf.setDebug(true) >> conf.registerMetricsConsumer(LoggingMetricsConsumer.class, 2); >> >> And in the bolt: >> >> prepare(,,,){ >> mainMetrics = new MultiCountMetric(); >> context.registerMetric("mainMetrics", mainMetrics, 1); >> } >> >> execute(){ >> mainMetrics.scope("recnum").incrBy(ms); >> } >> >> What else should I do to be able to see the results in UI? >> >> (I also clicked on "show system stats" and the metrics.log is also empty) >> >> I can see the metrics in the worker log as DataPoint-s but UI does not >> show me the stats. >> >> Thanks, >> >> > -- Kind Regards, Ferenc
