Adds diagnostics

This commit is contained in:
Bryce Covert
2022-01-04 16:50:30 -08:00
parent 2e1fab5fd0
commit 0a65fe56f3
6 changed files with 7 additions and 1 deletions

View File

@@ -4,5 +4,6 @@
[config.core :refer [env]]))
(mount/defstate metrics-setup
:start (statsd/setup! :host "127.0.0.1" :port 8125 :prefix "integreat.app")
:start (statsd/setup! :host "127.0.0.1" :port 8125 :prefix "integreat.app" :tags #{(str "env:" (:dd-env env))
(str "service:" (:dd-service env))})
:stop (statsd/shutdown!))