This documentation explains requirements and tips for integrating the Python agent with an app that uses Tornado 6. To return to the general install instructions, go to Install the Python agent.
重要
The Python agent does not support any versions of Tornado below 6.0.
Automatic initialization with admin script
You can use the recommended admin script integration method, provided you start your app with python app.py
and use the Tornado async interface. Here's an example of using the admin script method:
NEW_RELIC_CONFIG_FILE=path/to/newrelic.ini newrelic-admin run-python app.py
Manual integration in your app code is allowed but not recommended. See Manual integration instructions for more information.
Event loop diagnostic support
The Python agent supports asyncio event loop diagnostics. See Python event loop diagnostics for more information.
その他のヘルプ
さらに支援が必要な場合は、これらのサポートと学習リソースを確認してください:
- Explorers Hubでは、コミュニティからのサポートを受けたり、ディスカッションに参加したりすることができます。
- 当社サイトで答えを見つけて、サポートポータルの使用方法を確認してください。
- Linux、Windows、およびmacOS向けトラブルシューティングツールであるNew Relic Diagnosticsを実行してください。
- New Relicの とandドキュメント をご確認ください。