resque-statsd

Resque Statsd is a Resque plugin that will wrap the enqueueing, performing, failing, as well as timeing job run times withing Graphite monitoring.

CURRENT STATUS

No tests but in production

Usage

Install

gem install resque-statsd
gem install jamster-statsd # really jnunemaker's version of the statsd rubygem

Rails Setup

in an initializer, set up the Statsd

touch  config/initializers/resque-statsd.rb

in file add code

ENV['GRAPHITE_HOST'] = 'graphite.YOURHOST.com'
ENV['APP_NAME'] = 'yourappname_resque' # I add the _resque to separate against web
require 'resque-statsd'

Background Reading

Graphite

graphite.wikidot.com/

StatsD Comes From Etsy

The folks at Etsy (kastner) have come up with a neat node.js app to listen for Graphite stats.

Ruby StatsD Client

I’ve required a particular version (jnunemaker’s) of the ruby StatsD client

Read the post here

Contributing to resque-statsd

Copyright © 2011 Jason Amster. See LICENSE.txt for further details.