Using Sentry to monitor exceptions
Sentry is a tool that eases the process of monitoring exceptions and also provides insights into the errors that users of the application face while using it. It is highly possible that there are errors in log files that get overlooked by the human eye. Sentry categorizes the errors under different categories and keeps a count of the recurrence of errors. This helps us to understand the severity of the errors on multiple criteria and how to handle them accordingly. It has a nice GUI that facilitates all of these features. In this recipe, we will set up Sentry and use it as an effective error-monitoring tool.
Getting ready
Sentry is available as a cloud service, which is available free for developers and basic users. For the purposes of this recipe, this freely available cloud service will be enough. Head over to https://sentry.io/signup/ and get started with the registration process. This being said, we need to install the Python SDK for Sentry...