You can indeed register metrics in trident. In functions, override prepare(), which gives you a TridentOperationContext. In aggregators, use the IMetricsContext you get in makeState(). -- Yuval Oren N3TWORK
> On Sep 26, 2014, at 4:21 PM, Raphael Hsieh <[email protected]> wrote: > > I've been following the tutorials here > (http://www.bigdata-cookbook.com/post/72320512609/storm-metrics-how-to > <http://www.bigdata-cookbook.com/post/72320512609/storm-metrics-how-to>) to > create metrics in Storm. > > However I am using Trident which abstracts bolts away from the user. How can > I go about creating metrics in trident ? > > Thanks > > -- > Raphael Hsieh >
