flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Hauser <ewhau...@gmail.com>
Subject Metrics script
Date Sat, 17 Sep 2011 04:14:12 GMT

I wrote a quick script to grab some metrics from our Flume nodes.
Thought I would share in case anyone was interested.


The script just prints to stdout, but if you happen to use something
like graphite, you can graph them by doing:

require 'graphite'
graphite = Graphite::Logger.new('graphite_host:2003')
graphite.log(Time.now, metrics)

View raw message