A library for submitting metrics and events to dogstatsd, Datadogs statsd agent.
Usage, first create a statsd "client", then use it to talk to dogstatsd with the various metric & event functions.
(require '[swirrl.dogstatsd :as dog])
(def statsd (configure {:endpoint "localhost:8125"}))
;; call a metric function e.g.
(dog/increment! statsd "some.count")
A library for submitting metrics and events to dogstatsd, Datadogs statsd agent. Usage, first create a statsd "client", then use it to talk to dogstatsd with the various metric & event functions. ```clojure (require '[swirrl.dogstatsd :as dog]) (def statsd (configure {:endpoint "localhost:8125"})) ;; call a metric function e.g. (dog/increment! statsd "some.count") ```
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |