Quantcast
Viewing latest article 5
Browse Latest Browse All 5

New Relic and Pyramid

While 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)

Viewing latest article 5
Browse Latest Browse All 5

Trending Articles