You add it as a task hook, e.x. Scala: config.put(Config.TOPOLOGY_AUTO_TASK_HOOKS, List(classOf[MetricsStormHooks].getName).asJava)
Java: List<Class<? extends ITaskHook>> taskHooks = new ArrayList<>(); taskHooks.add(MetricsStormHooks.class.getName()); config.put(Config.TOPOLOGY_AUTO_TASK_HOOKS, taskHooks); Michael Rose (@Xorlev <https://twitter.com/xorlev>) Senior Platform Engineer, FullContact <http://www.fullcontact.com/> [email protected] On Fri, Dec 13, 2013 at 8:40 AM, Patricio Echagüe <[email protected]>wrote: > It seems to be that you just instantiate MetricsStorm and call > initiateWebConsole(port). > > I also posted a while ago something similar. > http://patricioechague.blogspot.com/2013/10/different-strategies-to-monitor-storm.html > > Sent from my Nexus 4. > On Dec 13, 2013 3:33 AM, "Cheng Xuntao" <[email protected]> wrote: > >> Hi, all, >> >> I am a starter. I want to test Storm using the metrics ( >> https://github.com/ooyala/metrics_storm). But I found no guide which I >> do need! How to integrate the metrics into Storm or does the latest Storm >> already included it? My question should be silly but I do appreciate your >> help!! >> >> Thanks!! >> >> Best Regards, >> Cheng Xuntao >> >>
