zulip/zproject
Alex Vandiver 8f8a9f6f04 sentry: Add frontend event monitoring.
Zulip already has integrations for server-side Sentry integration;
however, it has historically used the Zulip-specific `blueslip`
library for monitoring browser-side errors.  However, the latter sends
errors to email, as well optionally to an internal `#errors` stream.
While this is sufficient for low volumes of users, and useful in that
it does not rely on outside services, at higher volumes it is very
difficult to do any analysis or filtering of the errors.  Client-side
errors are exceptionally noisy, with many false positives due to
browser extensions or similar, so determining real real errors from a
stream of un-grouped emails or messages in a stream is quite
difficult.

Add a client-side Javascript sentry integration.  To provide useful
backtraces, this requires extending the pre-deploy hooks to upload the
source-maps to Sentry.  Additional keys are added to the non-public
API of `page_params` to control the DSN, realm identifier, and sample
rates.
2023-03-07 10:51:45 -08:00
..
jinja2 ruff: Fix S701 Consider using `autoescape=True`. 2023-01-26 10:16:30 -08:00
__init__.py
backends.py backends: Use staticfilesfor social auth logos. 2023-02-14 17:17:06 -05:00
computed_settings.py run-dev: Drop .py from script name. 2023-03-03 18:02:37 -08:00
config.py config: Remove Django base class from ZulipSettingsError. 2022-09-26 12:42:36 -07:00
configured_settings.py ruff: Fix M001 Unused `noqa` directive. 2022-11-03 12:10:15 -07:00
default_settings.py sentry: Add frontend event monitoring. 2023-03-07 10:51:45 -08:00
dev_settings.py run-dev: Drop .py from script name. 2023-03-03 18:02:37 -08:00
dev_urls.py settings: Allow customization of STATIC_URL. 2023-02-14 17:17:06 -05:00
email_backends.py email_backends: Fix type annotation of EmailLogBackEnd. 2022-07-29 14:58:11 -07:00
legacy_urls.py legacy_urls: Add type annotation to legacy_urls. 2022-08-12 17:08:04 -07:00
prod_settings.pyi lint: Replace pycodestyle and pyflakes with ruff. 2022-11-03 12:10:15 -07:00
prod_settings_template.py sentry: Add frontend event monitoring. 2023-03-07 10:51:45 -08:00
sentry.py puppet: Add a sentry release class. 2023-02-10 15:53:10 -08:00
settings.py ruff: Fix M001 Unused `noqa` directive. 2022-11-03 12:10:15 -07:00
settings_types.py settings_type: Extract new module for types used in settings. 2022-09-26 12:42:36 -07:00
template_loaders.py template_loaders: Extract TwoFactorLoader to new module. 2022-09-26 12:42:36 -07:00
test_extra_settings.py tests: Set LOCAL_AVATARS_DIR / LOCAL_FILES_DIR in tests. 2023-03-06 11:52:23 -08:00
test_settings.py ruff: Fix M001 Unused `noqa` directive. 2022-11-03 12:10:15 -07:00
urls.py run-dev: Drop .py from script name. 2023-03-03 18:02:37 -08:00
wsgi.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00