This documentation contains requirements and tips for integrating the ython agent with an app that uses the Paste HTTP server. For general install instructions, go to Install the Python agent.
Admin script integration method
The recommended admin script integration method will work if the paste.httpserver.serve()
API function is used directly. For more on the admin script process, see the general installation procedures.
Using PasteDeploy
If rather than manually incorporating the call to startup the Paste HTTP server in your application code, you are using PasteDeploy with a configuration similar to:
[server:main]use = egg:Paste#httphost = 127.0.0.1port = 8080
all you instead need to do to start up your WSGI application is wrap the running of the paster
command:
NEW_RELIC_CONFIG_FILE=newrelic.ini newrelic-admin run-program paster serve production.ini
その他のヘルプ
さらに支援が必要な場合は、これらのサポートと学習リソースを確認してください:
- Explorers Hubでは、コミュニティからのサポートを受けたり、ディスカッションに参加したりすることができます。
- 当社サイトで答えを見つけて、サポートポータルの使用方法を確認してください。
- Linux、Windows、およびmacOS向けトラブルシューティングツールであるNew Relic Diagnosticsを実行してください。
- New Relicの とandドキュメント をご確認ください。