Skip to content

Instantly share code, notes, and snippets.

@curious-attempt-bunny
Last active August 29, 2015 14:19
Show Gist options
  • Save curious-attempt-bunny/f56a9b0a40c2ecd36e71 to your computer and use it in GitHub Desktop.
Save curious-attempt-bunny/f56a9b0a40c2ecd36e71 to your computer and use it in GitHub Desktop.
Setting up with Clojure
  • 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 the newrelic/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:<path to app>/newrelic/newrelic.jar"]}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment