我正在尝试设置新的遗物,我已经按照他们给出的指令进行了操作,但是最后的命令给了我这个错误。
newrelic-admin run-program gunicorn wsgi:application为什么?
2013-04-16 10:39:30 [4175] [INFO] Starting gunicorn 0.14.5
2013-04-16 10:39:30 [4175] [INFO] Listening at: http://127.0.0.1:8000 (4175)
2013-04-16 10:39:30 [4175] [INFO] Using worker: sync
2013-04-16 10:39:30 [4178] [INFO] Booting worker with pid: 4178
2013-04-16 10:39:30 [4178] [INFO] Worker exiting (pid: 4178)
2013-04-16 10:39:31 [4175] [INFO] Shutting down: Master
2013-04-16 10:39:31 [4175] [INFO] Reason: Worker failed to boot.发布于 2013-04-16 18:54:26
按照此处提供的说明进行操作:
https://newrelic.com/docs/python/python-agent-integration
我假设我在Django上发布了这个Django应用程序。
添加
import newrelic.agent
newrelic.agent.initialize('/some/path/newrelic.ini')https://stackoverflow.com/questions/16034842
复制相似问题