Fantastic. I took a look at doing this after Coda presented it. Looking forward to using it.
Thank you. On Tuesday, November 1, 2011 at 11:32 AM, Steve Losh wrote: > Last night I released an initial version of metrics-clojure, which is a thin > Clojure wrapper around Coda Hale's awesome metrics[1] library: > > http://github.com/sjl/metrics-clojure > http://bitbucket.org/sjl/metrics-clojure > > If you haven't seen Coda's talk about metrics it's worth the watch: > > http://pivotallabs.com/talks/139-metrics-metrics-everywhere > > metrics-clojure makes it easier to work with metrics in Clojure. It lets you > do > stuff like this: > > (use '[metrics.counters :only (counter inc! dec!)]) > > (def users-connected (counter "users-connected")) > > (inc! users-connected) > (dec! users-connected) > > and > > (use '[metrics.histograms :only (histogram update!)]) > > (def search-results-returned (histogram "search-results-returned")) > > (update! search-results-returned 10) > (update! search-results-returned 245) > > There's still a bunch of stuff I need to do, like adding data accessing and > wrapping/adding more result reporting mechanisms, but the core is there. > > I'd appreciate advice on the "API", since I'm still fairly new to Clojure. > It's > not a "1.0.0" release so I wouldn't feel bad about changing it now. > > [1]: https://github.com/codahale/metrics/ > > -- > Steve Losh > > -- > 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 > (mailto: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 > (mailto: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 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