Liking cljdoc? Tell your friends :D

monkey.ci.metrics


make-metricsclj

source

make-registryclj

(make-registry)
source

scrapeclj

(scrape r)

Creates a string that can be used by Prometheus for scraping

Creates a string that can be used by Prometheus for scraping
sourceraw docstring

signal->counterclj

(signal->counter handler-id reg counter-id {:keys [opts tags tx]})

Registers a signal handler that creates a counter in the registry that counts how many times a signal was received. If tags is a function, it will be invoked first without arguments to determine the tag names, and then with each received signal in order to get the tag values for the counter.

Registers a signal handler that creates a counter in the registry that counts 
how many times a signal was received.  If `tags` is a function, it will be 
invoked first without arguments to determine the tag names, and then with
each received signal in order to get the tag values for the counter.
sourceraw docstring

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

× close