Liking cljdoc? Tell your friends :D

io.resonant.micrometer


*registry*clj

source

add-counterclj

(add-counter arg1 n)
(add-counter arg1 arg2 n)
(add-counter arg1 arg2 arg3 n)
(add-counter registry name tags options n)

Adds some value to counter

(add-counter counter n) (add-counter name n) (add-counter name tags n) (add-counter registry name n) (add-counter name tags options n) (add-counter registry name tags n) (add-counter registry name tags options n)

Adds some value to counter

(add-counter counter n)
(add-counter name n)
(add-counter name tags n)
(add-counter registry name n)
(add-counter name tags options n)
(add-counter registry name tags n)
(add-counter registry name tags options n)
sourceraw docstring

add-summaryclj

(add-summary arg1 v)
(add-summary arg1 arg2 v)
(add-summary registry name tags v)
(add-summary registry name tags options v)

Adds sample to distribution summary

(add-summary summary val) (add-summary name val) (add-summary name tags val) (add-summary registry name val) (add-summary registry name tags val) (add-summary name tags options val) (add-summary registry name tags options val)

Adds sample to distribution summary

(add-summary summary val)
(add-summary name val)
(add-summary name tags val)
(add-summary registry name val)
(add-summary registry name tags val)
(add-summary name tags options val)
(add-summary registry name tags options val)
sourceraw docstring

add-timerclj

(add-timer arg1 duration)
(add-timer arg1 arg2 duration)
(add-timer arg1 arg2 arg3 duration)
(add-timer registry name tags options duration)

Increments timer.

(add-timer timer duration) (add-timer name duration) (add-timer name tags duration) (add-timer registry name duration) (add-timer registry name tags duration) (add-timer name tags options duration) (add-timer registry name tags options duration)

Increments timer.

(add-timer timer duration)
(add-timer name duration)
(add-timer name tags duration)
(add-timer registry name duration)
(add-timer registry name tags duration)
(add-timer name tags options duration)
(add-timer registry name tags options duration)
sourceraw docstring

configureclj

(configure m)
source

create-registrycljmultimethod

Returns raw meter registry object from micrometer library.

Returns raw meter registry object from micrometer library.
sourceraw docstring

defgaugecljmacro

(defgauge args & body)
source

get-counterclj

(get-counter arg1)
(get-counter arg1 arg2)
(get-counter arg1 arg2 arg3)
(get-counter registry name tags {:keys [description base-unit]})

Creates of returns cached counter.

(get-counter counter) (get-counter name) (get-counter name tags) (get-counter registry name) (get-counter name tags options) (get-counter registry name tags) (get-counter registry name tags options)

Creates of returns cached counter.

(get-counter counter)
(get-counter name)
(get-counter name tags)
(get-counter registry name)
(get-counter name tags options)
(get-counter registry name tags)
(get-counter registry name tags options)
sourceraw docstring

get-function-counterclj

(get-function-counter arg1 obj cfn)
(get-function-counter arg1 arg2 obj cfn)
(get-function-counter arg1 arg2 arg3 obj cfn)
(get-function-counter registry
                      name
                      tags
                      {:keys [description base-unit]}
                      obj
                      cfn)

Creates or returns cached function counter

(get-function-counter name obj cfn) (get-function-counter name tags obj cfn) (get-function-counter registry name obj cfn) (get-function-counter name tags options obj cfn) (get-function-counter registry name tags obj cfn) (get-function-counter registry name tags options obj cfn)

Creates or returns cached function counter

(get-function-counter name obj cfn)
(get-function-counter name tags obj cfn)
(get-function-counter registry name obj cfn)
(get-function-counter name tags options obj cfn)
(get-function-counter registry name tags obj cfn)
(get-function-counter registry name tags options obj cfn)
sourceraw docstring

get-function-timerclj

(get-function-timer name obj cfn tfn time-unit)
(get-function-timer arg1 arg2 obj cfn tfn time-unit)
(get-function-timer arg1 arg2 arg3 obj cfn tfn time-unit)
(get-function-timer registry
                    name
                    tags
                    {:keys [description]}
                    obj
                    cfn
                    tfn
                    time-unit)

Creates of returns cached function timer.

(get-function-timer name obj cfn tfn time-unit) (get-function-timer name tags obj cfn tfn time-unit) (get-function-timer registry name obj cfn tfn time-unit) (get-function-timer name tags options obj cfn tfn time-unit) (get-function-timer registry name tags obj cfn tfn time-unit) (get-function-timer registry name tags options obj cfn tfn time-unit)

Creates of returns cached function timer.

(get-function-timer name obj cfn tfn time-unit)
(get-function-timer name tags obj cfn tfn time-unit)
(get-function-timer registry name obj cfn tfn time-unit)
(get-function-timer name tags options obj cfn tfn time-unit)
(get-function-timer registry name tags obj cfn tfn time-unit)
(get-function-timer registry name tags options obj cfn tfn time-unit)
sourceraw docstring

get-gaugeclj

(get-gauge name gfn)
(get-gauge arg1 arg2 gfn)
(get-gauge arg1 arg2 arg3 gfn)
(get-gauge registry name tags {:keys [description base-unit strong-ref?]} gfn)

Creates or returns cached gauge meter

(get-gauge name gfn) (get-gauge name tags gfn) (get-gauge registry name gfn) (get-gauge name tags options gfn) (get-gauge registry name tags gfn) (get-gauge registry name tags options gfn)

Creates or returns cached gauge meter

(get-gauge name gfn)
(get-gauge name tags gfn)
(get-gauge registry name gfn)
(get-gauge name tags options gfn)
(get-gauge registry name tags gfn)
(get-gauge registry name tags options gfn)
sourceraw docstring

get-summaryclj

(get-summary arg1)
(get-summary arg1 arg2)
(get-summary arg1 arg2 arg3)
(get-summary registry
             name
             tags
             {:keys [description base-unit percentiles precision histogram? sla
                     min-val max-val expiry buf-len scale]})

Creates or return cached distribution summary

(get-summary summary) (get-summary name) (get-summary name tags) (get-summary registry name) (get-summary registry name tags) (get-summary name tags options) (get-summary registry name tags options)

Creates or return cached distribution summary

(get-summary summary)
(get-summary name)
(get-summary name tags)
(get-summary registry name)
(get-summary registry name tags)
(get-summary name tags options)
(get-summary registry name tags options)
sourceraw docstring

get-task-timerclj

(get-task-timer arg1)
(get-task-timer arg1 arg2)
(get-task-timer arg1 arg2 arg3)
(get-task-timer registry
                name
                tags
                {:keys [description percentiles precision histogram? sla min-val
                        max-val expiry buf-len]})

Creates task timer.

(get-task-timer timer) (get-task-timer name) (get-task-timer name tags) (get-task-timer registry name) (get-task-timer registry name tags) (get-task-timer name tags options) (get-task-timer registry name tags options)

Creates task timer.

(get-task-timer timer)
(get-task-timer name)
(get-task-timer name tags)
(get-task-timer registry name)
(get-task-timer registry name tags)
(get-task-timer name tags options)
(get-task-timer registry name tags options)
sourceraw docstring

get-timerclj

(get-timer arg1)
(get-timer arg1 arg2)
(get-timer arg1 arg2 arg3)
(get-timer registry
           name
           tags
           {:keys [description percentiles precision histogram? sla min-val
                   max-val expiry buf-len]})

Creates timer.

(get-timer timer) (get-timer name) (get-timer registry name) (get-timer name tags) (get-timer name tags options) (get-timer registry name tags) (get-timer registry name tags options)

Creates timer.

(get-timer timer)
(get-timer name)
(get-timer registry name)
(get-timer name tags)
(get-timer name tags options)
(get-timer registry name tags)
(get-timer registry name tags options)
sourceraw docstring

inspect-meterclj

(inspect-meter name)
(inspect-meter arg1 arg2)
(inspect-meter {:keys [registry]} name tags)

Returns information about tags and summary value of a meter based on its name and optionally tags

(inspect-meter name) (inspect-meter registry name) (inspect-meter name tags) (inspect-meter registry name tags)

Returns information about tags and summary value of a meter based on its name and optionally tags

(inspect-meter name)
(inspect-meter registry name)
(inspect-meter name tags)
(inspect-meter registry name tags)
sourceraw docstring

list-metersclj

(list-meters)
(list-meters {:keys [registry]})

Lists all registered meter names

(list-meters) (list-meters registry)

Lists all registered meter names

(list-meters)
(list-meters registry)
sourceraw docstring

meter-registryclj

(meter-registry {:keys [rename-tags ignore-tags replace-tags meter-filters]
                 :as cfg})

Creates meter registry

(meter-registry config)

Creates meter registry

(meter-registry config)
sourceraw docstring

Registryclj

source

REGISTRY-TYPESclj

source

registry?cljmacro

(registry? obj)
source

scrapecljmultimethod

Returns data as registry-specific data or nil when given registry type cannot be scraped

Returns data as registry-specific data or nil when given registry type cannot be scraped
sourceraw docstring

task-timedcljmacro

(task-timed args & body)
source

timedcljmacro

(timed args & body)

Executes body of code and records execution time.

(timed [timer] ...) (timed [name] ...) (timed [registry name ...) (timed [name tags] ...) (timed [name tags options] ...) (timed [registry name tags] ...) (timed [registry name tags options ...)

Executes body of code and records execution time.

(timed [timer] ...)
(timed [name] ...)
(timed [registry name ...)
(timed [name tags] ...)
(timed [name tags options] ...)
(timed [registry name tags] ...)
(timed [registry name tags options ...)
sourceraw docstring

to-durationclj

(to-duration d)
source

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

× close