Currently, kvexpress says that dogstatsd config is available through --dogstatsd_address but this is not true, since godspeed.NewDefault() uses the default statsd host/post.
This PR parses DogStatsdAddress into Host and Port for use w/ godspeed.New() to setup statsd host and port.
I chose to leave DogStatsdAddress as an entrypoint rather than creating new cli options for host and post so as to be backwards compatible.
Currently, kvexpress says that dogstatsd config is available through
--dogstatsd_address
but this is not true, sincegodspeed.NewDefault()
uses the default statsd host/post.This PR parses DogStatsdAddress into Host and Port for use w/
godspeed.New()
to setup statsd host and port.I chose to leave
DogStatsdAddress
as an entrypoint rather than creating new cli options for host and post so as to be backwards compatible.