Skip to content

Commit

Permalink
added newrelic
Browse files Browse the repository at this point in the history
  • Loading branch information
fterrier committed Feb 12, 2015
1 parent 454ce5b commit 26d65fb
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
/checkouts
pom.xml
pom.xml.asc
*.jar
*.class
/.lein-*
/.nrepl-port
Expand Down
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: lein -Dnewrelic.environment=$NEWRELIC_ENV $JVM_OPTS -cp target/tramboard-clj.jar clojure.main -m tramboard-clj.core.server
web: java -Dnewrelic.environment=$NEWRELIC_ENV -javaagent:/path/to/newrelic.jar $JVM_OPTS -cp target/tramboard-clj.jar clojure.main -m tramboard-clj.core.server
Binary file added newrelic/newrelic.jar
Binary file not shown.
5 changes: 1 addition & 4 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
:plugins [[lein-cljsbuild "1.0.4"]
[lein-less "1.7.2"]]

:java-agents [[com.newrelic.agent.java/newrelic-agent "3.13.0" :bootclasspath true]]

:uberjar-name "tramboard-clj.jar"
:source-paths ["src/clj"]
:cljsbuild {:builds {:app {:source-paths ["src/cljs"]}}}
Expand Down Expand Up @@ -55,8 +53,7 @@
:pretty-print true
:source-map "resources/public/out.js.map"}}}}}

:uberjar
{:source-paths ["env/prod/src/clj"]
:uberjar {:source-paths ["env/prod/src/clj"]
:omit-source true
:aot :all
:hooks [leiningen.less leiningen.cljsbuild]
Expand Down

0 comments on commit 26d65fb

Please sign in to comment.