1đź‘Ť
âś…
Simply googling for “new relic mod_wsgi” sent me to New Relic’s own page entitled Python agent and mod_wsgi, which clearly explains what to do:
The New Relic Python agent can be used with Apache/mod_wsgi… For integration of the Python agent into your application when using Apache/mod_wsgi you should follow the standard instructions for manual integration with your Python application. The wrapper script cannot be used with Apache/mod_wsgi.
Following the link to the “manual integration” takes you to this page, which has exact instructions for what to add to your wsgi file.
👤Daniel Roseman
Source:stackexchange.com