Skip to main content

Using Sentry Alerts Extension

Introduction

Sentry is an exceptional tool designed to assist users in tracking errors and monitoring their application's performance. It simplifies the process of resolving issues and helps users gain a better understanding of how their software operates, resulting in quick solutions to problems.

Fynd Platform provides users with a provision "Sentry Alerts" extension to provide users with instant information about errors and crashes that occur on their Sales Channel website.


Steps to use Sentry Alert Extension:

  1. To access Fynd Platform Extensions, navigate to the Extensions tab.

QG1

Figure 1: Extensions Section

  1. Click on the Sentry Alerts extension.

QG1

Figure 2: Sentry Alerts Extension

note

After installation of this extension, it will be listed and available here.

  1. Select the sales channel in which you would like to enable the 'Sentry Alerts' extension. 'HK Fashion Hub' is our sample testing channel.

QG1

Figure 3: Selecting Desired Sales Channel

info

Once you select your preferred sales channel, the ‘Sentry Alerts’ extension will provide you with the option of ‘Connect your Sentry’ and other configurable options.

The following section provides a step-by-step guide to set up 'Sentry Alerts' as an extension to your sales channel. Read the easy-to-follow steps to get started with Sentry Alerts:

QG1

Figure 4: Connect your Sentry

  1. Active/Inactive button

Please activate the Sentry Alerts extension for your sales channel by toggling the active button depicted in the image provided above (see point one in Figure 4).

  1. Enter Sentry DSN
  • When you create a project on Sentry , it will give you a Data Source Name (DSN).
  • DSNs are secure to share with others because they only let you add new events and their data. They don't give anyone access to read any of your information.
  • To change or cancel DSNs, go to [Project] > Settings > Client Keys (DSN) and rotate them as needed.
info

To set up Sentry Alerts as an extension, a user is required to enter Sentry DSN, which they can find on the Sentry Dashboard under Settings > Project > Client Keys. We have used ''Sentry.init({ dsn: “https://public@sentry.example.com/1" });" as our sample DSN (see point two in Figure 4).

  1. Excluded URLs
  • Adding Sentry to your app provides useful data on errors and performance. To ensure you receive only relevant information in reasonable quantities, Sentry SDKs offer multiple configuration options for event filtering.
  • The exclusion of URLs feature enables the user to specify URLs that they do not wish Sentry to operate on. The user has the ability to add numerous URLs to the exclusion list.

In the 'URLs to exclude' section, add the URLs that you don't want to include. Our Sentry Alerts extension filters out two URLs (see point three in Figure 4).

To learn more about the configuration of exluded URLs, please refer to sentry.io.

tip

Fynd Platform makes it easy for users to start using the extension by providing a fast integration process. To quickly monitor errors, all a user needs to do is update the Sentry DNS in the extension configuration.