(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"}})
(start r seconds)
Report all metrics to influxdb periodically.
Report all metrics to influxdb periodically.
(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})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close