Made statsd work\?

This commit is contained in:
Bryce Covert
2022-01-04 07:35:13 -08:00
parent 07b6e69c26
commit caa69d69a9
2 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
(ns auto-ap.background.metrics
(:require [com.unbounce.dogstatsd.core :as statsd]
[mount.core :as mount]))
(mount/defstate metrics-setup
:start (statsd/setup! :host "127.0.0.1" :port 8125 :prefix "my.app")
:stop nil)