(counter this opts)Create or fetch a counter. opts: {:name :help :labels}.
Create or fetch a counter. opts: {:name :help :labels}.
(dec! this metric)(dec! this metric amount)Decrement a gauge.
Decrement a gauge.
(gauge this opts)Create or fetch a gauge. opts: {:name :help :labels}.
Create or fetch a gauge. opts: {:name :help :labels}.
(histogram this opts)Create or fetch a histogram. opts: {:name :help :labels :buckets}.
Create or fetch a histogram. opts: {:name :help :labels :buckets}.
(inc! this metric)(inc! this metric amount)Increment a counter or gauge.
Increment a counter or gauge.
(observe! this histogram value)Record a histogram observation.
Record a histogram observation.
(registry this)Return the backing metrics registry.
Return the backing metrics registry.
(set! this gauge value)Set a gauge to an explicit numeric value.
Set a gauge to an explicit numeric value.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |