newrelic.yml: This contains configuration information for the New Relic agent, including your license key, application name, etc. New Relic recommends you change the default newrelic.yml file permissions to be read/write only for the owner of the app server process.

On server startup, the agent searches for newrelic.yml in the directory that contains newrelic.jar. New Relic writes the agent log to a sub-directory in the same location, named logs.

Install the agent

To install the Java agent:

In your app server's root directory, create a new directory named newrelic.