SentryIo

GitHub - 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.

Sentry Docs | Application Performance Monitoring & Error Tracking Software

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

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.

Key Terms & Features

 

Some errors and URLs are ignored, the list is based on Sending JS errors to server