dogstatsd-elixir icon indicating copy to clipboard operation
dogstatsd-elixir copied to clipboard

Part of OTP supervision tree

Open drozzy opened this issue 5 years ago • 1 comments

Could you please re-write this to start automatically as part of the general OTP supervision tree? I think having one registered process would be great, to do:

:datadogsd.gauge(..

drozzy avatar Aug 07 '18 04:08 drozzy

Will this work?

In application.ex:

worker(DogStatsd, [%{:host => "localhost", :port => 8125}, [{:name, :dogstatsd}]])

Then in code

require DogStatsd
...

DogStatsd.increment(:dogstatsd, "page.views")

drozzy avatar Aug 13 '18 18:08 drozzy