I am wondering what is the best way to track unicorn timeouts from my application.
There are a few bits of the application that are slow, and they currently time out quietly. I could increase the timeout, but this makes the problem under the carpet difficult. Ideally, I would like to receive an air brake notice or something like that. I am not looking for guidance on efficiency, just a way to effectively and reliably report timeouts.
How do other people handle timeouts from their rails application using a unicorn? scan nginx error log? to connect a handler in a unicorn configuration? handler in nginx configuration?
[Ubuntu 12.04 + nginx + unicorn + rails 3.2 + ruby 1.9.3]
source share