You can use the recommended admin script integration method if the
CherryPyWSGIServer API function is used directly. The recommended admin script method is described in the general installation instructions.
If rather than manually integrating the call to startup the CherryPy WSGI server in your application code, you are using PasteDeploy with a configuration similar to:
[server:main]use = egg:PasteScript#cherrypyhost = 127.0.0.1port = 8080
all you instead need to do to start up your WSGI application is wrap the running of the
NEW_RELIC_CONFIG_FILE=newrelic.ini newrelic-admin run-program paster serve production.ini
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's data security and licenses documentation.