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
Hi,

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

https://gist.github.com/1223602

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)

Mime
View raw message