Liking cljdoc? Tell your friends :D

d-core.core.metrics.protocol


MetricsProtocolcljprotocol

counterclj

(counter this opts)

Create or fetch a counter. opts: {:name :help :labels}.

Create or fetch a counter. opts: {:name :help :labels}.

gaugeclj

(gauge this opts)

Create or fetch a gauge. opts: {:name :help :labels}.

Create or fetch a gauge. opts: {:name :help :labels}.

histogramclj

(histogram this opts)

Create or fetch a histogram. opts: {:name :help :labels :buckets}.

Create or fetch a histogram. opts: {:name :help :labels :buckets}.

inc!clj

(inc! this metric)
(inc! this metric amount)

Increment a counter or gauge.

Increment a counter or gauge.

observe!clj

(observe! this histogram value)

Record a histogram observation.

Record a histogram observation.

registryclj

(registry this)

Return the backing metrics registry.

Return the backing metrics registry.

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close