As you develop and deploy your application to users, the importance of robust monitoring becomes crucial. Wix can send monitoring data to your Sentry account, allowing you to effectively track and fix errors in your app. By setting up Sentry and connecting it to your app, you'll gain valuable, out-of-the-box insights into your app's health and comprehensive error reporting across the various Wix platforms.
Learn more about Sentry and how to maximize its capabilities.
This article will guide you through the process of creating a monitoring extension for your app that integrates with Sentry using your Sentry DSN (Data Source Name) and the Wix JavaScript SDK.
wix.config.json
file.When you save your changes, a monitoring extension is automatically added to your app.
To preview your changes, run the following command using npm or yarn:
npm
yarn
Note that when Wix recognizes the changes to your wix.config.json
file, Wix will report unhandled errors to your Sentry project automatically.
You can also report errors directly in your code:
Access your Sentry dashboard to observe logged errors and monitor app performance for real-time insights and debugging.
Regularly check your Sentry dashboard to monitor errors, performance, and gain insights into your application’s health and issues. Leverage features such as issue tracking, release tracking, and performance monitoring to continuously improve your application.
The monitoring solution is available for the following types of app extensions:
Dashboard Extensions
Site Extensions
Backend Extensions