Pythonエージェントの構成 | New Relic Documentation
How to configure the Python agent, including editing the Python agent config file and setting environment variables.