We use New Relic. For our web apps, it automatically tracks request 
counts/times, database access for MongoDB and MySQL, plus external HTTP API 
access. We also trace certain aspects of the code – documented in this blog 
post:

http://seancorfield.github.io/blog/2013/05/01/instrumenting-clojure-for-new-relic-monitoring/

We also use New Relic’s “probe” library to run custom metric probes in our 
non-web-apps. We fire up New Relic’s Agent in a thread when our app starts up 
and have it call back to a function in our code. We track all the metrics we 
want via Clojure agents (mostly just sending inc to ‘tick’ a metrics and 
sending – n inside the probe/reporting function to reset the metrics).

(I haven’t blogged about that second approach because New Relic don’t seem to 
have that JAR on Maven so I need to do go back through their documentation for 
plugins and figure out the whole end-to-end process)

Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

From: Łukasz Korecki<mailto:[email protected]>
Sent: Monday, July 10, 2017 1:35 AM
To: Clojure<mailto:[email protected]>
Subject: Monitoring Clojure applications in production

Hi all!

I'm wondering how people are getting application performance metrics out of 
their clojure applications?
My team is using a combination of collectd for machine/os metrics and statsd 
instrumentation for application level code (RabbitMQ consumers, http handlers 
etc).
All of that data is sent to graphite where we also have alerts etc

My question is more related to instrumenting actual code and JVM metrics - I've 
seen a JMX plugin for collectd but it's a bit awkward to setup and requires 
collectd
to pull metrics from the application (please let's skip the pull vs push 
metrics issue for now).

So - my question is how folks do this in the wild? NewRelic? Thousands of 
nested macros wrapping statsd? Wrapper's around Coda Hale's metrics library?

Thanks!

Łukasz

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
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 
[email protected]<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to