diff --git a/cms/envs/common.py b/cms/envs/common.py index 1a830a868706..2b175786e82a 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -915,6 +915,7 @@ # Various monitoring middleware 'edx_django_utils.monitoring.CookieMonitoringMiddleware', 'edx_django_utils.monitoring.DeploymentMonitoringMiddleware', + 'edx_django_utils.monitoring.FrontendMonitoringMiddleware', 'edx_django_utils.monitoring.MonitoringMemoryMiddleware', # Before anything that looks at cookies, especially the session middleware diff --git a/lms/envs/common.py b/lms/envs/common.py index da2bfed626e0..0c750b4c4bcf 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -2256,6 +2256,7 @@ def _make_locale_paths(settings): # pylint: disable=missing-function-docstring 'edx_django_utils.monitoring.CodeOwnerMonitoringMiddleware', 'edx_django_utils.monitoring.CookieMonitoringMiddleware', 'edx_django_utils.monitoring.DeploymentMonitoringMiddleware', + 'edx_django_utils.monitoring.FrontendMonitoringMiddleware', # Before anything that looks at cookies, especially the session middleware 'openedx.core.djangoapps.cookie_metadata.middleware.CookieNameChange',