diff --git a/docs/source/guide/security.md b/docs/source/guide/security.md
index a85188e9e7c2..6f7e9da50a88 100644
--- a/docs/source/guide/security.md
+++ b/docs/source/guide/security.md
@@ -122,7 +122,7 @@ Label Studio collects usage statistics including the number of page visits, numb
-You can disable data collection by setting the environment variable `COLLECT_ANALYTICS` to `False`.
+You can disable data collection by setting the environment variable `COLLECT_ANALYTICS` to `False`. Sentry monitoring can be disabled by setting `SENTRY_DSN` and `FRONTEND_SENTRY_DSN` to empty string.
diff --git a/web/apps/labelstudio/src/app/App.jsx b/web/apps/labelstudio/src/app/App.jsx
index b24f0f0f3ae8..3d9f3e6a26a2 100644
--- a/web/apps/labelstudio/src/app/App.jsx
+++ b/web/apps/labelstudio/src/app/App.jsx
@@ -49,7 +49,9 @@ const browserHistory = createBrowserHistory({
window.LSH = browserHistory;
-initSentry(browserHistory);
+if (window.APP_SETTINGS.sentry_dsn != null) {
+ initSentry(browserHistory);
+}
const App = ({ content }) => {
const libraries = {