OnShift/turbogears — pull request #1 by m-butterfield (2014-10-21 01:32:08+00:00)
Title: insert newrelic initialization stuff

To be used with this:

This tells New Relic to start up and where the actual wsgi application callable is. See: https://docs.newrelic.com/docs/agents/python-agent/installation-configuration/python-agent-integration

Note that you have to have the 'NEW_RELIC_CONFIG_FILE' environment variable set in order for this to work, or you can pass in the path of the config file as an argument to newrelic.agent.initialize(). I'll leave that up to you guys to handle.