Liking cljdoc? Tell your friends :D

macrometer.gauges


core-async-present?clj


defgaugecljmacro

(defgauge s x & opts)

Defines a new gauge metric using the symbol as the name. For simplicity, all dashes are translated into dots (idiomatic)

Defines a new gauge metric using the symbol as the name.
For simplicity, all dashes are translated into dots (idiomatic)
raw docstring

gaugecljmultimethod

Defines a new gauge (a value that may go up or down) to a single registry, or return an existing counter in that registry. The returned gauge will be unique for each registry, but each registry is guaranteed to only create one gauge for the same combination of name and tags.

ex. (gauge "pool.size" (some-fn) :tags {:name "work"})

Defines a new gauge (a value that may go up or down) to a single registry,
or return an existing counter in that registry.
The returned gauge will be unique for each registry, but each registry is guaranteed to only create
one gauge for the same combination of name and tags.

ex. (gauge "pool.size" (some-fn) :tags {:name "work"})
raw docstring

mk-gaugeclj

(mk-gauge builder
          {:keys [tags description unit strong registry]
           :or {registry default-registry}})
(mk-gauge n f opts)
(mk-gauge n obj f opts)

Defines a new gauge

Defines a new gauge
raw docstring

valueclj

(value g)

The act of observing the value by calling this method triggers sampling of the underlying number or user-defined function that defines the value for the gauge.

The act of observing the value by calling this method triggers sampling of the underlying number
or user-defined function that defines the value for the gauge.
raw docstring

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

× close