I'm wondering what is the best way to track unicorn timeouts from my app.
There are some bits of the app which are slow and they currently timeout quietly. I could increase the timeout but that is shoving the problem under the carpet. Ideally, I would like to get an airbrake notification or something of that effect. I'm not looking for a performance guide, just a way to efficiently and reliably get informed about timeouts.
How have other people handled timeouts from their rails app using unicorn? scan the nginx error log? plug in a handler in unicorn config? handler in nginx config?
[Ubuntu 12.04+nginx+unicorn+rails 3.2+ruby 1.9.3]