Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Removes the New Relic APM agent from the API now that telemetry has moved to SigNoz/OTel, including runtime initialization paths and dependency/config cleanup.
Changes:
- Removed New Relic initialization/wrapping from Gunicorn, Lambda (
application.py), and Celery startup. - Dropped
newrelicfrom Poetry dependencies and removed its lockfile entries. - Deleted New Relic-specific config and build/deploy wiring (INI, Lambda entry script env, staging workflow Dockerfile selection).
Reviewed changes
Copilot reviewed 8 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
run_celery.py |
Removes New Relic init from Celery runner. |
pyproject.toml |
Drops newrelic dependency. |
poetry.lock |
Removes locked newrelic package metadata and updates content hash. |
newrelic.ini |
Deletes New Relic agent configuration file. |
mypy.ini |
Removes newrelic mypy ignore section. |
gunicorn_config.py |
Removes New Relic env defaults and init logic; updates related comment. |
ci/Dockerfile.lambda |
Removes manual New Relic installation step from Lambda image build. |
bin/entry.sh |
Removes New Relic Lambda-specific environment configuration. |
application.py |
Removes New Relic Lambda detection/init and WSGI wrapper. |
.github/workflows/lambda_staging.yml |
Simplifies build step to always use ci/Dockerfile.lambda (no New Relic toggle). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
added 2 commits
April 2, 2026 13:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary | Résumé
Since we've switched to Signoz, we no longer need new relic in API.
Related Issues | Cartes liées
Test instructions | Instructions pour tester la modification
Smoke test staging
Release Instructions | Instructions pour le déploiement
None.
Reviewer checklist | Liste de vérification du réviseur