(counter id
&
{description :description
labels :labels
registry :registry
:or {labels [] description "" registry default-registry}})
(gauge id
&
{description :description
labels :labels
registry :registry
callback-fn :callback-fn
:or {labels [] description "" registry default-registry}})
(histogram id
&
{description :description
buckets :buckets
labels :labels
registry :registry
:or {buckets [0.005 0.01 0.025 0.05 0.075 0.1 0.25 0.5 0.75 1 2.5 5
7.5 10]
labels []
description ""
registry default-registry}})
(description this)
(get-or-create-metric! this labels->vals)
(id this)
(metric-type this)
(sample this)
(clear! this)
(collect this)
(fetch this name type)
(register-or-return! this name type collector-fn)
(summary id
&
{description :description
labels :labels
registry :registry
max-age-seconds :max-age-seconds
age-buckets :age-buckets
quantiles :quantiles
:or {max-age-seconds 600
age-buckets 5
quantiles []
description ""
registry default-registry}})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close