Liking cljdoc? Tell your friends :D

prometheus-component.core


default-metricsclj

source

expose-metrics-http-request-handlerclj

(expose-metrics-http-request-handler {headers :headers
                                      {:keys [prometheus config]} :components})

Inputs: [{headers :headers, {:keys [prometheus config]} :components}]

Inputs: [{headers :headers, {:keys [prometheus config]} :components}]
sourceraw docstring

report-elapsed-time!cljmacro

(report-elapsed-time! registry id & body)

Measures the elapsed time (msecs) to run the given body of code, reports it as a prometheus metric, and returns the result of the body.

Measures the elapsed time (msecs) to run the given body of code, reports it as a prometheus metric, and returns the result of the body.
sourceraw docstring

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

× close