Liking cljdoc? Tell your friends :D

iapetos.collector


Collectorcljprotocol

Protocol for Collectors to be registered with a iapetos registry.

Protocol for Collectors to be registered with a iapetos registry.

instantiateclj

(instantiate this registry-options)

Return a collector instance that can be registered with collector registries.

Return a collector instance that can be registered with collector
registries.

label-instanceclj

(label-instance this instance values)

Add labels to the given collector instance produced by instantiate.

Add labels to the given collector instance produced by `instantiate`.

metricclj

(metric this)

Return a iapetos.metric/Metric for this collector.

Return a `iapetos.metric/Metric` for this collector.

metric-idclj

(metric-id this)

Return user supplied (unsanitized) identifier for this collector.

Return user supplied (unsanitized) identifier for this collector.
sourceraw docstring

make-simple-collectorclj

(make-simple-collector {:keys [name namespace subsystem description labels
                               lazy?]
                        :iapetos.metric/keys [id]}
                       collector-type
                       builder-constructor)

Create a new simple collector representation to be instantiated and registered with a iapetos registry.

Create a new simple collector representation to be instantiated and
registered with a iapetos registry.
sourceraw docstring

namedclj

(named metric collector)
source

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

× close