(counter this opts)Create or fetch a counter. opts: {:name :help :labels}.
Create or fetch a counter. opts: {:name :help :labels}.
(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.
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 |