Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

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.

https://docs.sentry.io/

Installation

This module is a part of MageSuite metapackage

Installation if metapackage is not used:

composer require "creativestyle/magesuite-sentry-io" ^1.0.0

Admin settings

The extension can be configured under:

Stores -> Configuration -> MageSuite -> SentryIO

Settings:

Name

Options

Note

Data Source Name

Custom configuration

Custom sentry.io configuration object which keys will overwrite provided default ones.

Frontend

At the bottom of the page, the sentry script is added, which gathers javascript errors.

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/

Additionally, if the session is for a logged-in user, anonymized customer data is sent along with the error report. Also, cart content is attached for potential easier reproduction.

Some errors and URLs are ignored, the list is based on https://gist.github.com/1878283

Deprecated version of JavaScript SDK is used in this module. Version update is needed or the whole module should be marked as deprecated.

TODO - review of this documentation is needed

  • No labels