【发布时间】:2014-09-06 10:42:24
【问题描述】:
我正在尝试将 newrelic 插件添加到我使用 Jetty 部署在 heroku 中的应用程序中。 这就是我想要做的,也是我得到的答案。我已经解压了根目录下的newrelic文件夹。
~ $ java -jar newrelic/newrelic.jar install
Picked up JAVA_TOOL_OPTIONS: -Djava.rmi.server.useCodebaseOnly=true -Djava.rmi.server.useCodebaseOnly=true
Jul 16, 2014 03:20:57 +0000 [95 1] com.newrelic INFO: Agent is using Logback
***** ( ( o)) New Relic Java Agent Installer
***** Installing version 3.8.1 ...
Could not edit start script because:
.:. Could not locate a Tomcat, Jetty, JBoss, JBoss7 or Glassfish instance in /app
Try re-running the install command with the -s <AppServerRootDirectory> option or from <AppServerRootDirectory>/newrelic.
If that doesn't work, locate and edit the start script manually.
No need to create New Relic configuration file because:
.:. A config file already exists: /app/newrelic/newrelic.yml
***** Install incomplete
***** Next steps:
For help completing the install,
感谢您的帮助
【问题讨论】:
-
你试过heroku工具带吗?
-
你明确的意思是什么?
-
有一个heroku toolbelt,需要下载,然后在cli中运行heroku add commnd来添加插件
-
我已经添加了插件,但是应用程序没有向监视器发送任何数据。所以我正在尝试安装代理
标签: java heroku jetty newrelic add-on