Rails用户:您使用什么异常通知软件? [英] Rails users: What exception notification software do you use?

查看:111
本文介绍了Rails用户:您使用什么异常通知软件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经看过Ryan Bates谈到exception_logger和异常通知。还有其他好的考虑吗?你喜欢和不喜欢这些?



另外,如果你抓住他们,这些异常通知程序是否记录异常?



谢谢!

解决方案

我强烈建议使用 Hoptoad 。我们使用免费的帐户,我们的生产系统是很好的,只是一个救命。我发现它非常优于ExceptionNotifier和ExceptionLogger插件。安装很简单,然后您可以自动发送电子邮件通知,以及在他们的网络用户界面中非常好地介绍异常。



但是,还有一件好事是不是每次你收到例外的电子邮件,只是第一次,但后来排队他人,所以当你去看看它在网络上,你会看到,说发生了7次或随你。这一点非常棒,因为如果由于某种原因,你会介绍一些突然爆发许多例外情况的东西,而且您的流量很高,那么现在您将不会在通知中完全淹没您的电子邮件收件箱。 / p>

另一个很酷的事情是它与Capistrano部署集成,并在部署完成后记录,所以这给你一些更多的信息,可能是跟踪的关键下来什么是错误的(例如你部署的,然后不久之后你就会收到通知,你知道这个问题在你刚才介绍的内容中)。



最后还有一个与之交互的API。很多善良,这是我现在唯一使用的 - 即使使用了新的Relic RPM帐户,我仍然使用Hoptoad的所有例外通知。


I have seen Ryan Bates talk about exception_logger and exception notification. Are there any other good ones to consider? What do you like and dislike about these?

Also, do these exception notifiers log exceptions if you catch them?

Thanks!

解决方案

I would highly recommend using Hoptoad. We use the free account for our production system which is plenty fine, and is just a life saver. I find it highly superior to the ExceptionNotifier and ExceptionLogger plugins. It's dead simple to install, and then you get automatic email notification, as well as really nice presentation of the exceptions in their web UI.

But, also, one nice thing is that it doesn't email you every time you get the exception, just the first time, but then it queues up the others, so when you go look at it on the web, you'll see that say it happened 7 times or whatever. This alone is really great in that if for some reason you introduce something that is all of a sudden firing off lots of exceptions, and you have a high traffic site, you won't have now completely inundated your email inbox with the notices.

Another other cool thing is that it integrates with Capistrano deployments, and records when your deployments were done, so this gives you a bit more info, and may be the key to tracking down what is wrong (e.g. you deploy, and then shortly thereafter you start getting notices, you know that the problem is in whatever you just introduced).

Finally, there's even an API to interact with it. Lots of goodness, and it's the only thing I use now - even with a New Relic RPM account, I still use Hoptoad for all my exception notification.

这篇关于Rails用户:您使用什么异常通知软件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆