0.08
Repository is archived
No commit activity in last 3 years
No release in over 3 years
A failure backend for Resque that sends events to Sentry
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.11.0
~> 2.6

Runtime

>= 1.18.0
>= 0.4.6
 Project Readme

resque-sentry

A Resque failure backend that sends errors to Sentry.

Installation

$ gem install resque-sentry

Usage

Add the following to an initializer:

require 'resque/failure/multiple'
require 'resque/failure/redis'
require 'resque-sentry'

# [optional] custom logger value to use when sending to Sentry (default is 'root')
Resque::Failure::Sentry.logger = "resque"

Resque::Failure::Multiple.classes = [Resque::Failure::Redis, Resque::Failure::Sentry]
Resque::Failure.backend = Resque::Failure::Multiple