Thursday, February 02, 2023

Javascript Error Reporting

 Are there any open source javascript error reporting libraries to use in a web application?


Yes, there are several open source JavaScript error reporting libraries that you can use in a web application. Some popular options include:


Sentry: An open source error tracking and monitoring solution that allows you to track and fix errors in your web applications in real-time.


Rollbar: A cloud-based error monitoring platform that provides real-time notifications and detailed error reports for your web applications.


Bugsnag: An error monitoring and reporting platform that provides real-time notifications and detailed error reports for your web applications.


LogRocket: A cloud-based error monitoring platform that provides real-time notifications and detailed error reports for your web applications.


TrackJS: An error tracking and reporting platform that provides real-time notifications and detailed error reports for your web applications.


These are just a few examples of open source JavaScript error reporting libraries that you can use in a web application. The best choice for you will depend on your specific needs, such as the level of detail you require in error reports, the size of your web application, and your budget.


Which of the options can be self hosted on our own servers?


Of the options I listed in my previous answer, Sentry is the only one that can be self-hosted on your own servers. Sentry is an open source error tracking and monitoring solution that allows you to track and fix errors in your web applications in real-time. It can be installed on your own servers and provides a wide range of features, including real-time error notifications, detailed error reports, and the ability to manage multiple projects.


If you are looking for an error reporting solution that can be self-hosted, Sentry is a great choice. However, it's important to note that self-hosting requires a certain level of technical expertise and resources, including server hardware, network infrastructure, and security protocols. If you are not comfortable with managing your own infrastructure, it may be better to use a cloud-based solution, such as Rollbar, Bugsnag, LogRocket, or TrackJS.