Liking cljdoc? Tell your friends :D

samsara.trackit.reporter-newrelic


all-metrics-attributesclj


newrelic-reporterclj

(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})

startclj

(start r seconds)

Report all metrics to NewRelic periodically.

Report all metrics to NewRelic periodically.
raw docstring

start-reportingclj

(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})

stopclj

(stop r)

Stops reporting.

Stops reporting.
raw docstring

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

× close