How to Install new_relic into django application running under apache and mod_wsgi -
i running django using apache , mod_wsgi , wanted install new_relic
i preconfiure newrelic.ini , put in django base dir
in new_relic doc prefix following :
new_relic_config_file=newrelic.ini newrelic-admin run-program
but file /var/www//index.wsgi looks like:
import os import sys import site #... import django.core.handlers.wsgi application = django.core.handlers.wsgi.wsgihandler()
how emerge new_relic django application using mod-wsgi ?
thanks,
simply googling "new relic mod_wsgi" sent me new relic's own page entitled python agent , mod_wsgi, explains do:
the new relic python agent can used apache/mod_wsgi... integration of python agent application when using apache/mod_wsgi should follow standard instructions manual integration python application. wrapper script cannot used apache/mod_wsgi.
following link "manual integration" takes this page, has exact instructions add wsgi file.
Comments
Post a Comment