Вот конфиг для запуска Django проекта с New Relic через supervisor:
[program:django]
user = www-data
command = newrelic-admin run-program /usr/local/bin/uwsgi
--module 'project.wsgi:application'
--socket /tmp/%(program_name)s_%(process_num)02d.sock
--processes 1
--threads 6
--single-interpreter
--enable-threads
--vacuum
--need-app
--log-x-forwarded-for
--buffer-size 32768
--post-buffering 65536
--disable-logging
environment =
NEW_RELIC_CONFIG_FILE="/etc/project/newrelic.ini",
DJANGO_SETTINGS_MODULE="project.settings"