python 2.7 - Integrating New Relic with Tornado app with gunicorn as a process manager -


i want use new relic monitor errors in async tornado app gunicorn process manager.

when try make request after integrating new relic following error file "/library/python/2.7/site-packages/newrelic-2.10.1.9/newrelic/hooks/framework_tornado.py", line 30, in request_environment result['request_uri'] = request.uri attributeerror: 'dict' object has no attribute 'uri'

the app hosted on heroku requirements.txt

# analytics newrelic==2.10.1.9 

procfile

web: newrelic-admin run-program gunicorn -k tornado --bind=0.0.0.0:$port opening_application.runserver 

the workaround eliminate issue add following agent configuration file (newrelic.ini):

[import-hook:gunicorn.app.base]  enabled = false 

Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -