Heroku Django应用程序的New Relic无数据发送到新Reli

2024-06-16 09:33:36 发布

您现在位置:Python中文网/ 问答频道 /正文

在Heroku(Django应用程序)上安装New Relic插件和python客户端后,即使进行了大量事务并等待了一个多小时,也没有数据发送到New Relic

任何人都可以通过列出在Heroku for dajngo应用程序上成功设置new relic apm所需遵循的确切步骤来提供支持,从添加附加组件到检查new relic上的事务

以下是新的文物诊断工具的结果:

./nrdiag

检查结果

Info Base/Env/CollectEnvVars [Gathered Environment variables of current shell.] Success Base/Config/Collect Success Base/Config/Validate Failure Base/Log/Copy Success Base/Config/LicenseKey Info Base/Env/HostInfo [9dc9844b-15bd-4801-8cea-b59be8adee41] Info
Base/Config/RegionDetect [1 unique New Relic region(s) detected from config.] Success Base/Collector/ConnectUS Success Python/Config/Agent Info Python/Env/Version [3.7.0] Info
Python/Env/Dependencies [Collected pip freeze. See pipFreeze.txt for more i...] Success Python/Requirements/Webframework Error
Base/Env/InitSystem Failure Python/Requirements/PythonVersion 61 results not shown: 61 None See nrdiag-output.json for full results.

发现的问题

Failure - Base/Log/Copy Log File not found, please check working directory See https://docs.newrelic.com/docs/new-relic-diagnostics#run-diagnostics for more information.

Error - Base/Env/InitSystem Unable to read symbolic link for /sbin/init: lstat /sbin/init: no such file or directory

Failure - Python/Requirements/PythonVersion Python version is not compatible. See https://docs.newrelic.com/docs/agents/python-agent/getting-started/compatibility-requirements-python-agent#basic for more information.


Tags: infoenvlogconfigdocsnewforbase