Sentry is a powerful error tracking and performance monitoring tool that helps developers identify, diagnose, and resolve issues in their applications.
Sentry does smart stuff with error data to make bugs easier to find and fix. - sentry.io
This multi-faceted software offers a range of features that will help you manage errors with greater ease and ultimately ensure your application is running smoothly:
Sentry automatically assigns a DSN when you create a project, the unique DSN informs Sentry where to send events so they are associated with the correct project.
You can find your project DSN (Data Source Name) by visiting sentry.io and navigating to your [Project] > Settings > Client Keys (DSN).
enabled: boolean | optional
Set to false to disable the plugin. Defaults to true.
init : ClientOptions | optional
Sentry allows a variety of options to be passed into the Sentry.init() function, see the full list of options here.
requestHandler : RequestHandlerOptions | optional
Accepts options that let you decide what data should be included in the event sent to Sentry, checkout the options here.
captureErrors: number[] | optional
By default, Sentry.errorHandler will capture only errors with a status code of 500 or higher. To capture additional error codes, pass the values as numbers in an array.
To see all options available, visit the Sentry Docs.