(ring-middleware handler system-monitor)
(url-middleware handler system-monitor application-name)
(url-middleware handler system-monitor application-name normalize-uri-fn)
Instrument each url call adding a counter and a clock. normalize-uri-fn takes a string representing an url and returns a string, this function is used for normalizing uris, in case that you have uris involving some sort of identifier that you do not want to count as a different instrument.
Instrument each url call adding a counter and a clock. normalize-uri-fn takes a string representing an url and returns a string, this function is used for normalizing uris, in case that you have uris involving some sort of identifier that you do not want to count as a different instrument.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close