Liking cljdoc? Tell your friends :D

com.widdindustries.tools.gauge

an API for periodically invoking registered callbacks

  • aka Gauges as they are known in jvm metric libraries.

single registry means that cannot have multiple gauges registered for different time spans, or registries for different systems

an API for periodically invoking registered callbacks
- aka Gauges as they are known in jvm metric libraries.

single registry means that cannot have multiple gauges registered for different time spans,
or registries for different systems
raw docstring

deregister-all-gaugesclj

(deregister-all-gauges)
source

deregister-gaugeclj

(deregister-gauge measurement-name)
source

Gaugecljprotocol

gauge-nameclj

(gauge-name _)

name should be unique within the registry

name should be unique within the registry

logclj

(log _)

aka the callback. this should log the state of the gauge as a side-effect. return value is ignored

aka the callback. this should log the state of the gauge as a side-effect. return value is ignored

valueclj

(value _)

return the value of the gauge - not used by the gauge logging thread but could be useful for debugging

return the value of the gauge - not used by the gauge logging thread but could be useful for debugging
source

get-gaugeclj

(get-gauge measurement-name)
source

invoke-registeredclj

(invoke-registered)
source

loggerclj

source

logging-threadclj

source

register-gaugeclj

(register-gauge g)
source

startclj

(start frequency)
source

stopclj

(stop)
source

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

× close