(count m)
(defmeter title)
(defmeter reg title)
Define a new Meter metric with a given title and event type.
The title uses some basic desugaring to let you concisely define metrics:
; Define a meter titled "default.default.foo" into var foo (defmeter foo ,,,) (defmeter "foo" ,,,)
; Define a meter titled "a.b.c" into var c (defmeter [a b c] ,,,) (defmeter ["a" "b" "c"] ,,,) (defmeter [a "b" c] ,,,)
Define a new Meter metric with a given title and event type. The title uses some basic desugaring to let you concisely define metrics: ; Define a meter titled "default.default.foo" into var foo (defmeter foo ,,,) (defmeter "foo" ,,,) ; Define a meter titled "a.b.c" into var c (defmeter [a b c] ,,,) (defmeter ["a" "b" "c"] ,,,) (defmeter [a "b" c] ,,,)
(mark! m)
(mark! m n)
(meter title)
(meter reg title)
Create and return a new Meter metric with the given title. If a Meter already exists with the given title, will return that Meter.
Title can be a plain string like "foo" or a vector of three strings (group, type, and title) like:
["myapp" "webserver" "connections"]
Create and return a new Meter metric with the given title. If a Meter already exists with the given title, will return that Meter. Title can be a plain string like "foo" or a vector of three strings (group, type, and title) like: ["myapp" "webserver" "connections"]
(rate-fifteen m)
(rate-five m)
(rate-mean m)
(rate-one m)
(rates m)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close