- Download the Java agent from your New Relic account page - i.e. https://rpm.newrelic.com/accounts/:account_id.
- Extract the zip to your app's directory.
- Optionally change
app_name
in thenewrelic/newrelic.yml
configuration. - Download the Clojure incubator jar.
- Create a
newrelic/extensions
directory in your app's directory. - Move the Clojure incubator jar there.
- Add this to the project.clj: [details]
:profiles {:dev {:jvm-opts [ "-Dextensions.dir=<path to app>/newrelic/extensions"
"-javaagent:/newrelic/newrelic.jar"]}}