Skip to content

Commit

Permalink
feat: add FrontendMonitoringMiddleware in lms and studio (#34823)
Browse files Browse the repository at this point in the history
* feat: add FrontendMonitoringMiddleware in lms and studio

* chore: upgrade edx-django-utils to 5.14.1
  • Loading branch information
iamsobanjaved authored May 23, 2024
1 parent cb14a92 commit d8675f8
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 8 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
2 changes: 1 addition & 1 deletion requirements/edx/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ edx-django-release-util==1.4.0
# edxval
edx-django-sites-extensions==4.2.0
# via -r requirements/edx/kernel.in
edx-django-utils==5.13.0
edx-django-utils==5.14.1
# via
# -r requirements/edx/kernel.in
# django-config-models
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/development.txt
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ edx-django-sites-extensions==4.2.0
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
edx-django-utils==5.13.0
edx-django-utils==5.14.1
# via
# -r requirements/edx/doc.txt
# -r requirements/edx/testing.txt
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ edx-django-release-util==1.4.0
# edxval
edx-django-sites-extensions==4.2.0
# via -r requirements/edx/base.txt
edx-django-utils==5.13.0
edx-django-utils==5.14.1
# via
# -r requirements/edx/base.txt
# django-config-models
Expand Down
4 changes: 2 additions & 2 deletions requirements/edx/kernel.in
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ edx-completion
edx-django-release-util # Release utils for the edx release pipeline
edx-django-sites-extensions
edx-codejail
# edx-django-utils 5.4.0 adds CSP middleware
edx-django-utils>=5.4.0 # Utilities for cache, monitoring, and plugins
# edx-django-utils 5.14.1 adds FrontendMonitoringMiddleware
edx-django-utils>=5.14.1 # Utilities for cache, monitoring, and plugins
edx-drf-extensions
edx-enterprise
# edx-event-bus-kafka 5.6.0 adds support for putting client ids on event producers/consumers
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ edx-django-release-util==1.4.0
# edxval
edx-django-sites-extensions==4.2.0
# via -r requirements/edx/base.txt
edx-django-utils==5.13.0
edx-django-utils==5.14.1
# via
# -r requirements/edx/base.txt
# django-config-models
Expand Down
2 changes: 1 addition & 1 deletion scripts/user_retirement/requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ django-crum==0.7.9
# via edx-django-utils
django-waffle==4.1.0
# via edx-django-utils
edx-django-utils==5.13.0
edx-django-utils==5.14.1
# via edx-rest-api-client
edx-rest-api-client==5.7.0
# via -r scripts/user_retirement/requirements/base.in
Expand Down
2 changes: 1 addition & 1 deletion scripts/user_retirement/requirements/testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ django-waffle==4.1.0
# via
# -r scripts/user_retirement/requirements/base.txt
# edx-django-utils
edx-django-utils==5.13.0
edx-django-utils==5.14.1
# via
# -r scripts/user_retirement/requirements/base.txt
# edx-rest-api-client
Expand Down

0 comments on commit d8675f8

Please sign in to comment.