Liking cljdoc? Tell your friends :D

samsara.trackit.reporter-influxdb


influx-reporterclj

(influx-reporter reg
                 {:keys [host hostname port prefix tags fields auth
                         connect-timeout read-timeout group-guages duration-unit
                         measurement-mappings db-name excludes]
                  :as opts
                  :or {port 8086 db-name "metrics"}})

startclj

(start r seconds)

Report all metrics to influxdb periodically.

Report all metrics to influxdb periodically.
raw docstring

start-reportingclj

(start-reporting registry
                 {:keys [reporting-frequency-seconds host port prefix rate-unit
                         duration-unit tags fields dbname auth connect-timeout
                         read-timeout]
                  :or {reporting-frequency-seconds 10
                       host "localhost"
                       port 8086
                       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