SentryIo
https://github.com/magesuite/sentry-io
This module adds SentyIO integration. Sentry's SDKs enable automatic reporting of errors and exceptions. When the module is installed, event data from a shop is captured and sent to Sentry, which can provide error and performance reports.
Installation
This module is a part of MageSuite metapackage
Installation if metapackage is not used:
composer require "creativestyle/magesuite-sentry-io" ^2.0.0
Admin settings
The extension can be configured under:
Stores -> Configuration -> MageSuite -> SentryIO
Â
Settings:
Name | Options | Note |
---|---|---|
Enabled | Â | Â |
Data Source URL | Â | See screenshot below |
Custom configuration | Â | Custom sentry.io configuration object which keys will overwrite provided default ones. |
Â
Getting DSN (Data Source Name / URL)
DSNs for projects are located under Project’s settings in Sentrt.io platform:
Â
Frontend
Script is added to the additional head blocks to initialize as soon as possible. (Use wisely on Production).
What counts as an error varies by platform, but in general, if there's something that looks like an exception, it can be captured as an error in Sentry. Sentry automatically captures errors, uncaught exceptions, and unhandled rejections, as well as other types of errors, depending on platform.
https://docs.sentry.io/product/sentry-basics/key-terms/
Â
Some errors and URLs are ignored, the list is based on https://gist.github.com/1878283