- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
按照 https://docs.newrelic.com/docs/python/testing-the-python-agent 的建议,尝试使用 newrelic-admin validate-config newrelic.ini
测试我的 NewRelic 配置,我收到以下错误:
WARNING - The Python Agent is not enabled.
ERROR - Unable to register application for test, connection could not be established within 30.0 seconds.
该警告是什么意思?如何启用代理?为什么需要启用代理来验证配置?
最佳答案
事实证明 developer_mode
之一或monitor_mode
配置选项必须设置为 true
在您的配置文件中“启用”代理。
但是,看起来配置验证器实际上使用您的配置在名为“Python Agent Test”的测试应用程序下启动代理,并尝试向 NewRelic 报告,设置 developer_mode
至true
启用代理但仍然导致测试失败。实际上,看起来测试失败是一个错误,因为错误消息是 ERROR - Unexpected exception when attempting to harvest the metric data and send it to the data collector. Please report this problem to New Relic support for further investigation.
,回溯显示 newrelic.core.data_collector.send_request
中的断言失败.
设置monitor_mode = true
配置文件中的内容应成功启用代理并导致测试通过,数据为 PythonAgentTest
应用程序出现在 NewRelic 仪表板中。
关于python - 如何启用 NewRelic Python 代理?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34005921/
我的 Java/Mule ESB 应用程序使用了 New Relic 工具。一切都很好(至少在 Eclipse 中运行)。 但是,因为我的 Maven 存储库中已经有 New Relic jar 文件
我的 Java/Mule ESB 应用程序使用了 New Relic 工具。一切都很好(至少在 Eclipse 中运行)。 但是,因为我的 Maven 存储库中已经有 New Relic jar 文件
我有一个新的 relic agent 配置如下: newrelic==2.56.0.42 newrelic.agent.initialize(newrelic_ini_file, newrel
我正在使用 error_collector 从网络应用程序中收集特定错误 NewRelic::Agent.agent.error_collector.notice_error("error messa
我想使用 Android Studio 在我的 Android 应用程序中安装 5.12.3。我遵循了新遗物指南的第 1 步和第 2 步:将新遗物添加到您的构建中设置应用权限 现在,当我执行“启动代理
如何缩小 New Relic 图表?我必须关闭浏览器面板并在新面板中再次打开 New Relic。我可以更舒服地缩小吗? 最佳答案 如果您希望更改图表上显示的时间段,可以通过选择仪表板右上角您帐户名称
我正在将 newrelic-api 3.1.0 与 Java SE 6+ 3.1.1 代理一起使用,并且我: 添加了 NewRelic.incrementCounter("Custom/MyCateg
如果运行 NewRelic(带或不带实时用户监控),我需要在网站上的用户隐私政策中声明什么?即收集哪些信息、设置哪些 cookie(如果有)。数据的安全性,无论是总体数据还是个人数据。 最佳答案 Ne
我们目前正在评估 New Relic,有一个跟踪元素,我不确定我是否正确理解“(WPF 客户端和 WCF 后端)” - 它通常显示“stream[some url...]writeheaders”。我
如果运行 NewRelic(有或没有实时用户监控),我需要在网站的用户隐私政策中声明什么?即收集了哪些信息,设置了哪些 cookie(如果有)。他们数据的安全性,聚合与个人。 最佳答案 New Rel
我正在发送以下 json: { "components": [ { "guid": "com.mycompany.MyPlugin", "duration": 60
我的 Web 应用程序的某些资源定期返回带有 404 状态代码的响应,这些根本不是错误。但是NewRelic将它们声明为错误,如果每分钟有大量此类响应,则会触发错误警报。 我可以通过 error_co
我在几天内遇到了服务器磁盘溢出。在它充满10%之前。原因是文件 newrelic_agent.log 文件的大小为 5 - 30 GB。我在 nginx 文件夹 site-enabled 和 node
将 NewRelic sdk 添加到我的 android 项目后,每次我尝试构建发布时,我都会在 gradle 控制台上收到这个非常长的警告/错误,这也会影响构建时间;该项目现在需要两倍的时间来构建。
当我们重新启动配置了 newrelic java 代理的应用程序时,我们在 catalina.out 文件中收到以下错误。 我们已按照 newrelic 安装指南中指定的步骤进行操作,以下是 newr
我正在尝试这个命令 /etc/init.d/newrelic-sysmond start 但它不起作用。它给我一些这样的错误。 Starting New Relic Server Monitor: n
我在 Appharbor(免费版)上托管了一个站点,然后安装了 NewRelic 免费附加组件。我将可用性监控设置为针对我的主页。 现在,我遇到了一堆错误,因为我的 REST api 页面正在返回错误
我对 New Relic 如何跟踪 php 应用程序中的错误感到有点困惑。 应用程序中设置的错误级别(使用 error_reporting())对 php 代理有影响吗?或者它仍然会收到所有错误吗?是
我有以下内容: WebTransactions 报告中耗时第二多 WebTransaction /JobgroklistControllerPosting/display 29.9 1.
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 我们不允许提问寻求书籍、工具、软件库等的推荐。您可以编辑问题,以便用事实和引用来回答。 关闭 8 年前。
我是一名优秀的程序员,十分优秀!