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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -