[Answered ]-Adding newrelic to a python stack (django) deployed via dokku

2👍

I’ve figure it out.

just export the NEW_RELIC_CONFIG_FILE as enviroment variable via dokku, and do not add it to the Procfile. In may case ticker is the name of the app

dokku config:set ticker NEW_RELIC_CONFIG_FILE=newrelic.ini

and then procfile is

newrelic-admin run-program gunicorn config.wsgi:application

Leave a comment