Does a Crashlytics-like service for web app exists?

送分小仙女□ 提交于 2019-12-03 11:01:38

问题


I am a web and iOS developer. On mobile we have famous tools to collect all the exceptions and errors that application thorws.

There's Crashlytics (and others) that with few lines of code to install the sdk, start tracking everything automatically. Then them display the error and useful informations on their website with priority and other stats.

Exists something like that for web applications? Or explicitly for php or js apps?

Thanks ;)


回答1:


www.exceptional.io is exactly what you're asking for. It costs $9 per month after a free trial.

Integration with PHP is done by including a wrapper and a couple of lines of code: https://github.com/ankane/exceptional-php/

It can also be integrated with javascript with a couple of lines:

<script type="text/javascript" src="http://js.exceptional.io/exceptional.js"></script>
<script type="text/javascript">
  Exceptional.setKey('your_api_key');
</script>

Another option is New Relic, although it does a lot more than purely error logging - it provides all kinds of server monitoring metrics. https://docs.newrelic.com/docs/applications-menu/errors-dashboard




回答2:


There was a great discussion on this topic by Paul Irish on Google+ https://plus.google.com/+PaulIrish/posts/12BVL5exFJn (No longer available after Google+ closed). But here is the summary of that post.

Some of the mentioned services:

  • bugsense.com
  • jslogger.com
  • qbaka.com
  • muscula.com
  • errorception.com
  • exceptionhub.com
  • bugsnag.com
  • exceptional.io
  • airbrake.io
  • getsentry.com
  • github.com/Offbeatmammal/jsErrLog - open source
  • github.com/occ/TraceKit - most comprehensive stacktrace library


来源:https://stackoverflow.com/questions/21403895/does-a-crashlytics-like-service-for-web-app-exists

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!