Hi Mike I've just pushed the metrics consumer I wrote for Librato to https://github.com/DigitalPebble/storm-crawler. As you'll see in the code, the token and username have to be passed via configuration. The only quirk is that you can specify that a datapoint is sent as a counter by putting '_counter' in its name, it is sent as a gauge otherwise. A bit of a hack and there might be a cleaner way of doing this e.g. by writing custom implementations of IMetric.
I have been using this to monitor the state and throughputs of my Storm based crawlers with Librato and it works fine. HTH Julien On 16 February 2014 20:05, Mike Heffner <m...@librato.com> wrote: > Hi, > > Does anyone have examples of consuming the Storm metrics channel > (IMetricsConsumer) and sending that data to external monitoring or > visualization systems? If someone had an example that forwarded those > metrics to statsd I'd be really interested. > > I've taken a look at the LoggingMetricsConsumer, but that appears to just > rely on the toString() method to convert metrics to log format. > Unfortunately that doesn't really demonstrate how to enumerate the > individual metrics (e.g. the multiple keys in a MultiCountMetric) in order > to ship them as individual time-series name,value pairs. > > I'll probably just jump into the code this week to figure it out, but if > someone has some examples it would really save me some time. > > > Thanks! > > Mike > > -- > > Mike Heffner <m...@librato.com> > Librato, Inc. > > -- Open Source Solutions for Text Engineering http://digitalpebble.blogspot.com/ http://www.digitalpebble.com http://twitter.com/digitalpebble