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.
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.
Click below to sign up and get $100 of credit to try our products over 60 days!