Question
How can I setup New Relic to work with the Django single click install app
I have set up a Django app with the single click installer. I am trying to get New Relic to work with the upstart script. I try adding an export line for the NEW_RELIC_CONFIG_FILE
variable before the exec command in /etc/init/gunicorn
and then add newrelic-admin run-program
before the gunicorn command but no data flows to New Relic. If I run the same command from the command line I get it to pass data to New Relic.
Any suggestions?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
I am also trying to setup new relic with the django single click install. I cannot get data to report. Was I supposed to edit the upstart script and not the wsgi.py file? I keep reading people editing wsgi.py.
I was trying to follow https://docs.newrelic.com/docs/agents/python-agent/getting-started/python-agent-quick-start