Skip to content

Commit

Permalink
feat: add FrontendMonitoringMiddleware in lms and studio
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsobanjaved committed May 20, 2024
1 parent e7b4db0 commit ad9fe50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cms/envs/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions lms/envs/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit ad9fe50

Please sign in to comment.