airbrake/airbrake — Issue #55: Should use notify_or_ignore in Rake handler
Author: blakewatters
Created: 2012-02-16 16:24:22+00:00
State: open

Hi there -

We've run into an annoying issue with Airbrake when used in conjunction with Heroku and the Hirefire add-on. Basically Hirefire auto-scales your worker and web dynos in response to load and DelayedJob queue depth. It terminates the jobs using signals when load drops below a configurable threshold.

This produced a flood of SignalExceptions being emitted into our application's Airbrake project and overwhelmed our rate limit. I attempted to add SignalException to the list of ignored exceptions, but it did not have any effect.

After drilling in further, I found that this is because the Rake handler uses Airbrake.notify directly instead of Airbrake.notify_or_ignore, thus side-stepping the ignore configuration.

Pull request forthcoming that fixes this issue.

Cheers,
Blake