Extends the Airbrake gem to also report exceptions Esty's Statsd statistics aggregator.
Add this to your Gemfile:
gem 'airbrake-statsd'
It's assumed you know what both Airbrake and StatsD are before attempting to use this gem. If you don't, come back when you do know :)
All that's needed is to require airbrake-statsd and call
Airbrake::Statsd.configure and Airbrake notifications will automatically be
sent to StatsD and Airbrake.
require 'airbrake'
require 'airbrake-statsd'
Airbrake::Statsd.configure do |config|
config.host = 'my-statsd-server'
config.port = 8125
config.namespace = 'my_awesome_app'
end
Airbrake.notify({})
Released under the MIT license. Copyright (c) 2012 Jim Myhrberg & Global Personals, Ltd.