Liking cljdoc? Tell your friends :D

metrics.meters


countclj

(count m)
source

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

mark!clj

(mark! m)
(mark! m n)
source

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

sourceraw docstring

rate-fifteenclj

(rate-fifteen m)
source

rate-fiveclj

(rate-five m)
source

rate-meanclj

(rate-mean m)
source

rate-oneclj

(rate-one m)
source

ratesclj

(rates m)
source

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

× close