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