(newrelic-reporter reg
{:keys [reporter-name reporting-frequency-seconds
metrics-attribute-filter prefix rate-unit
duration-unit]
:or {reporting-frequency-seconds 30
reporter-name "trackit-reporter"
metrics-attribute-filter (constantly true)
prefix "trackit/"
rate-unit TimeUnit/SECONDS
duration-unit TimeUnit/MILLISECONDS}
:as cfg})
(start r seconds)
Report all metrics to NewRelic periodically.
Report all metrics to NewRelic periodically.
(start-reporting registry
{:keys [reporter-name reporting-frequency-seconds
metrics-attribute-filter prefix rate-unit
duration-unit]
:or {reporting-frequency-seconds 30
reporter-name "trackit-reporter"
metrics-attribute-filter (constantly true)
prefix "trackit/"
rate-unit TimeUnit/SECONDS
duration-unit TimeUnit/MILLISECONDS}
:as cfg})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close