Protocol for Collectors to be registered with a iapetos registry.
Protocol for Collectors to be registered with a iapetos registry.
(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-instance this instance values)
Add labels to the given collector instance produced by instantiate
.
Add labels to the given collector instance produced by `instantiate`.
(metric this)
Return a iapetos.metric/Metric
for this collector.
Return a `iapetos.metric/Metric` for this collector.
(metric-id this)
Return user supplied (unsanitized) identifier for this collector.
Return user supplied (unsanitized) identifier for this collector.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close