-
Notifications
You must be signed in to change notification settings - Fork 3
Description
RFC Start Date
2025-05-05
Target Plan Accepted Date
2025-05-19
Target Transition Unblocked Date
Already unblocked.
Earliest Breaking Changes Unblocked Date
Actual plan-accepted date (2025-05-19)
Earliest Open edX Named Release with Breaking Changes
Ulmo - 2025-10
Rationale
edx.org used New Relic for many years, but we have since expanded the options in https://github.com/openedx/edx-django-utils to cover several telemetry backends (Datadog, OpenTelemetry). The new backends are optional and are not included by default, but the newrelic Python package is still specified in the base.in and production.in files of edx-django-utils and a number of IDAs.
To reduce unneeded dependencies, we should remove this package from the base requirements.
This DEPR does not remove any New Relic functionality, just the inclusion of the package as a baseline.
Removal
The newrelic line would be removed from base.in and production.in files.
It would not be removed from test dependencies, e.g. in edx-django-utils's test.in or edx-repo-health's sample repo.
Replacement
Deployers who need New Relic functionality will need to install newrelic separately, e.g. using *_EXTRA_PIP_REQUIREMENTS settings (available now in Tutor) or as a Tutor patch (which could be developed -- see comments).
Deprecation
No response
Migration
No response
Additional Info
No response
Task List
Goal is to remove from base/production/etc. .in requirements files, as seen in this search: NOT is:archived org:openedx /^newrelic/ path:requirements/**.in NOT path:**/test.in NOT path:tests/**
- feat!: Remove newrelic from base dependencies edx-django-utils#504
- This takes care of the removal of
newrelicfrom most services (via the normal dependency upgrade process) - Published as version 8.0.0 -- should upgrade to this when removing
newrelicfrom base deps in following services.
- This takes care of the removal of
- feat: Remove newrelic package from base dependencies credentials#2780
- feat: Remove newrelic direct references and dependency course-discovery#4633
- Add to Ulmo release notes
- Skipped: https://github.com/openedx/xqueue/blob/3973a5f2a0d0ce789e762ee43e3dd224af291b36/requirements/base.in#L13
- There are nontrivial direct
newrelicreferences in the code: https://github.com/search?type=code&q=repo%3Aopenedx%2Fxqueue+newrelic+language%3APython&l=Python - Will skip this repo since xqueue is itself undergoing replacement.
- There are nontrivial direct
- PR opened: feat: Remove newrelic dependency xqueue-watcher#119
- PR may or may not be merged as this repo is marked as not accepting contributions or bug fixes. Not waiting for this to resolve before closing the DEPR.
- There's also a newrelic reference in the Dockerfile, but... can ignore this for now.
Metadata
Metadata
Labels
Type
Projects
Status