Liking cljdoc? Tell your friends :D

swirrl.dogstatsd

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")
```
raw docstring

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

× close