New Relic and Pyramid
Tuesday, December 20th, 2011While developing an application we decided to try New Relic, this is how we implemented their agent into pyramid.
import newrelic.agent newrelic.agent.initialize('path/to/newrelic.ini', 'development') application = config.make_wsgi_app() return newrelic.agent.wsgi_application()(application)