Re: New Relic installation on Heroku

2013-05-08 Thread Jonathon McKitrick
It's currently called 'relic-app'. -- Jonathon McKitrick On Wed, May 8, 2013 at 12:52 PM, Phil Hagelberg wrote: > > Jonathon McKitrick writes: > > > That's a good suggestion. I made that change, and there definitely was a > > different because the heroku log said New Relic agent was already

Re: New Relic installation on Heroku

2013-05-08 Thread Phil Hagelberg
Jonathon McKitrick writes: > That's a good suggestion. I made that change, and there definitely was a > different because the heroku log said New Relic agent was already running > because it had been specified in the JVM_OPTS. So I removed it from there, > restarted, but no change in the New

Re: Separating Out .cljs Content

2013-05-08 Thread Timothy Washington
Hey Jonathan, I just tried adding *base.js*. But another batch of dependency errors pop up. It just seems that there's no straightforward way of keeping *my-code.js * out of cljs' *main.js*. 1. goog.require could not find: cljs.core base.js:333

Adopting plumbing/graph - But how?

2013-05-08 Thread Wolodja Wentland
Hi all, I am quite interested in using plumbing in one of my projects and have the feeling that it is a perfect fit and indeed a better solution to something I have written before. I can't, however, quite figure out the best way to translate what I have into an implementation that uses graphs. Co

Re: New Relic installation on Heroku

2013-05-08 Thread Jonathon McKitrick
That's a good suggestion. I made that change, and there definitely was a different because the heroku log said New Relic agent was already running because it had been specified in the JVM_OPTS. So I removed it from there, restarted, but no change in the New Relic reports. I even tried running

Re: New Relic installation on Heroku

2013-05-08 Thread Leonardo Borges
Are you using lein with "lein trampoline"? If so, your app is running on a separate JVM, so you need to add this to your project.clj: :jvm-opts ["-javaagent:newrelic/newrelic.jar"] That was the bit missing for me. Hope this helps. Cheers, Leonardo Borges www.leonardoborges.com On Wed, May

Re: New Relic installation on Heroku

2013-05-08 Thread Jonathon McKitrick
I should add... when the idle dyno spins up, I *do* see that in the instance chart on New Relic. But none of the other stats show any activity. -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegr

New Relic installation on Heroku

2013-05-08 Thread Jonathon McKitrick
I followed these directions to install New Relic on my Heroku app: http://www.rafael-chacon.com/post/19069499949/new-relic-clojure-heroku-easy-steps-integration I added my license key to the yml file, and restarted the app. It's a simple app, with an import run from the CLI and an export as JSO

Re: Parallel code execution in ClojureScript?

2013-05-08 Thread Paul deGrandis
David is right, it can be done with workers. I created a proof of concept in Shoreleave to do this dynamically. The dynamic workers implemented IFn and supported IWatchable via the HTML5 Messaging API. https://gist.github.com/ohpauleez/2914039 About a month or so ago, I started creating a new

Re: Separating Out .cljs Content

2013-05-08 Thread Jonathan Fischer Friberg
That's odd, it should definitely be possible to do - I've done it before. Did you include the scripts something like this (from the dom example): goog.require('dom.test'); Jonathan On Wed, May 8, 2013 at 2:30 AM, Timothy Washington wrote: > That fixed one of the dependency problems. B