Liking cljdoc? Tell your friends :D

com.brunobonacci.mulog.publishers.prometheus.collector


add-quantileclj

(add-quantile builder [quantile error])
source

cleanup-labelsclj

(cleanup-labels [{:keys [metric/labels] :as metric} collection])

Collection labels are not allowed to change. This guarantees only first detected labels are used and that label order is maintained.

Collection labels are not allowed to change.
This guarantees only first detected labels are used
and that label order is maintained.
sourceraw docstring

cleanup-metricsclj

(cleanup-metrics metrics)
source

create-collectioncljmultimethod

Dispatches on the :metric/type. Returns a SimpleCollector

Dispatches on the `:metric/type`.
Returns a `SimpleCollector`
sourceraw docstring

Incrementcljprotocol

incrementclj

(increment t)
source

ObserveValuecljprotocol

observe-valueclj

(observe-value t value)
source

record-collectioncljmultimethod

Receives a [metric collection]. Dispatches on the :metric/type. This will cause the collection to record the events value. Returns [metric collection]

Receives a `[metric collection]`.
Dispatches on the `:metric/type`.
This will cause the collection to record the events value.
Returns `[metric collection]`
sourceraw docstring

SetValuecljprotocol

set-valueclj

(set-value t value)
source

SimpleCollectorLabelscljprotocol

child-with-labelsclj

(child-with-labels t label-values)

label-namesclj

(label-names t)
source

summary-builderclj

(summary-builder quantiles max-age-seconds age-buckets)
source

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

× close