forked from pypi/warehouse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add necessary bits to run our web processes under datadog apm (pypi#1…
…1743) we are trying to diagnose a memory consumption error that is difficult to reproduce in dev. this adds the ddtrace-run wrapper around our web processes to try to pin it down. the necessary agent and configuration are already live and ready but disabled via env var for now.
- Loading branch information
Showing
3 changed files
with
113 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
release: bin/release | ||
web: bin/start-web python -m gunicorn.app.wsgiapp -c gunicorn-prod.conf.py warehouse.wsgi:application | ||
web-uploads: bin/start-web python -m gunicorn.app.wsgiapp -c gunicorn-uploads.conf.py warehouse.wsgi:application | ||
web: bin/start-web ddtrace-run python -m gunicorn.app.wsgiapp -c gunicorn-prod.conf.py warehouse.wsgi:application | ||
web-uploads: bin/start-web ddtrace-run python -m gunicorn.app.wsgiapp -c gunicorn-uploads.conf.py warehouse.wsgi:application | ||
worker: bin/start-worker celery -A warehouse worker -Q default -l info --max-tasks-per-child 32 | ||
worker-malware: bin/start-worker celery -A warehouse worker -Q malware -l info --max-tasks-per-child 32 | ||
worker-beat: bin/start-worker celery -A warehouse beat -S redbeat.RedBeatScheduler -l info |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
gunicorn==20.1.0 | ||
ddtrace==1.2.1 |
This file contains 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