Ah - we'll certainly be using this soon - thanks!

 mg

On Tue, Nov 1, 2011 at 4:32 PM, Steve Losh <st...@stevelosh.com> 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
> 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 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

Reply via email to