Liking cljdoc? Tell your friends :D

clometheus.core


CallbackGaugeclj

source

counterclj

(counter id
         &
         {description :description
          labels :labels
          registry :registry
          :or {labels [] description "" registry default-registry}})
source

dec!cljmultimethod

source

Decrementablecljprotocol

decrement!clj

(decrement! this)
(decrement! this value)
source

default-registryclj

source

gaugeclj

(gauge id
       &
       {description :description
        labels :labels
        registry :registry
        callback-fn :callback-fn
        :or {labels [] description "" registry default-registry}})
source

histogramclj

(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}})
source

ICollectorcljprotocol

descriptionclj

(description this)

get-or-create-metric!clj

(get-or-create-metric! this labels->vals)

idclj

(id this)

metric-typeclj

(metric-type this)

sampleclj

(sample this)
source

ICollectorRegistrycljprotocol

clear!clj

(clear! this)

collectclj

(collect this)

fetchclj

(fetch this name type)

register-or-return!clj

(register-or-return! this name type collector-fn)
source

ICountAndSumcljprotocol

count-and-sum!clj

(count-and-sum! this v)
source

inc!cljmultimethod

source

Incrementablecljprotocol

increment!clj

(increment! this)
(increment! this value)
source

Observablecljprotocol

observation!clj

(observation! this value)
source

observe!cljmultimethod

source

quantileclj

(quantile quantile error)
source

registryclj

(registry)
source

Sampleclj

source

set!cljmultimethod

source

Settablecljprotocol

set-to!clj

(set-to! this value)
source

Sumcljprotocol

sumclj

(sum this)
source

summaryclj

(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}})
source

timedcljmacro

(timed observer & body)
source

Updatescljprotocol

updatesclj

(updates this)
source

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

× close