Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does a Crashlytics-like service for web app exists?

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 ;)

like image 722
Cla Avatar asked Jan 28 '14 11:01

Cla


People also ask

Why use Crashlytics?

Crashlytics can capture your app's errors as app_exception events in Analytics. The events simplify debugging by giving you access a list of other events leading up to each crash, and provide audience insights by letting you pull Analytics reports for users with crashes.


3 Answers

There's 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 services mentioned:

  • 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
like image 51
Kyle Chadha Avatar answered Oct 08 '22 07:10

Kyle Chadha


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

like image 22
Niall Avatar answered Oct 08 '22 06:10

Niall


Future users may find following useful.

Sentry is a Crashlytics like solution for lots of platforms

  • Web front-ends and their frameworks / libraries like React, Angular, Vue.
  • Back-ends languages and their runtimes / frameworks / libraries like Rails, Express, Lavarel.
  • Serverless platforms
  • IoT
  • Mobile clients including frameworks like React Native, Flutter.
  • Desktop platforms ex: MacOS, Windows, Linux
  • Gaming platforms ex: Unity, Unreal
  • Data

In addition to error reporting it also support performance monitoring.

More than anything it is a fully open sourced product including the both client and the server, not just opensource core. So it can be fully self hosted.


Note : I am not affiliated with Sentry in anyway.

like image 3
user158 Avatar answered Oct 08 '22 06:10

user158