DataDog / kvexpress

## Auto-archived due to inactivity. ## Go program to move data in and out of Consul's KV store.
Apache License 2.0
129 stars 13 forks source link

Rejig dogstatsd config #108

Closed noqcks closed 3 years ago

noqcks commented 3 years ago

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.