Liking cljdoc? Tell your friends :D

stature.metrics.protocol


count-on-exceptioncljmacro

(count-on-exception statsd key & body)

Evaluates the body and if an exception is thrown it increments a counter and re-throws it

Evaluates the body and if an exception is thrown
it increments a counter and re-throws it
sourceraw docstring

Metricscljprotocol

countclj

(count this key)

Increment a counter

Increment a counter

gaugeclj

(gauge this key val)

Set gauge value

Set gauge value

timingclj

(timing this key val)

Record timing

Record timing
source

with-timingcljmacro

(with-timing statsd key & body)

Nice macro to record timing of a given form.

Nice macro to record timing of a given form.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close