Liking cljdoc? Tell your friends :D

metrics.meters


countclj

(count m)

defmetercljmacro

(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] ,,,)
raw docstring

mark!clj

(mark! m)
(mark! m n)

meterclj

(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"]

raw docstring

rate-fifteenclj

(rate-fifteen m)

rate-fiveclj

(rate-five m)

rate-meanclj

(rate-mean m)

rate-oneclj

(rate-one m)

ratesclj

(rates m)

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

× close