如何正确配置 newrelic.properties

How to configure the newrelic.properties properly

我必须创建一个 newrelic.properties 来生成 mapping.txt。

但是,我找不到任何地方我必须创建这个文件(文件夹)和这个文件的内容,它只告诉我 "Be sure to create the newrelic.properties file containing your application token."

我在项目根目录下创建的,不知道对不对

我应该在哪里创建 newrelic.properties 文件?他的正确内容是什么?

谢谢!

我找到了解决方案:

  • Projectname directory > app directory >
  • 上创建 newrelic.properties
  • 创建一个名为 com.newrelic.application_key = YOUR_KEY
  • 的密钥