Although I can't answer for the New Relic approach on Heroku, I can
say that we happily use New Relic to monitor a Clojure app that runs
inside Tomcat, as well some standalone command line Clojure apps.

For the Tomcat app, we add -javaagent manually in
{tomcat}/bin/setenv.sh to point to a local folder containing the New
Relic agent JAR - and our New Relic config file, containing our
license key and application name etc. We also have that JAR as a
dependency and import it into code we want to specifically instrument.
See this blog post for details:

http://corfield.org/blog/post.cfm/instrumenting-clojure-for-new-relic-monitoring

The agent should report basic data without that additional level of
instrumentation but much depends on its ability to understand the
container in which your Clojure code runs. We did not get much detail
with the agent alone.

Our standalone apps use New Relic's metrics-publish JAR (not on Maven,
downloaded separately and installed in our Archiva repo), and do a
little trick for spinning off a monitoring probe thread, using some
custom code, essentially as a New Relic plugin. I'll try to make that
available as an open source project at some time but it's not high on
my list. If you're interested, contact me off list (sean at corfield
dot org) and I can share details.

Sean

On Fri, Dec 13, 2013 at 7:46 AM, Brad Koch <bradkoch2...@gmail.com> wrote:
> I need to implement some performance monitoring and exception tracking for
> my Clojure app.  My first thought was to just use New Relic.  I implemented
> it according to Heroku's New Relic instructions for Clojure.  It initialized
> the dashboard successfully, but no data is ever sent.  I've seen two other
> reports of no data being received as well.  The logs note the capture of
> things such as SQL queries, but the agent doesn't seem to send them in the
> report back.
>
> I filed a ticket with them, but their customer support has been awful; they
> responded only once a week ago and have ignored requests for updates.
>
> Has anyone had this issue with New Relic on a Clojure app, and did you find
> a way to resolve it?  Does anyone use something different for monitoring
> that works well?
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.



-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to