java-dogstatsd-client
java-dogstatsd-client copied to clipboard
Metrics not sent when the stasD server changes the IP
I have the statsd server running in kubernetes. Every time I restart the statsd container it gets a new IP and it doesn't receive any messages. If I restart the application that sends the metrics, it's working but I would like a 'reconnect' mechanism on the client.
@razvandarju do you managed to solve the problem?
It's probably this: https://github.com/DataDog/dogstatsd-csharp-client/issues/64
@irvifa are you still encountering this issue
@irabinovitch I managed to solve this by using the following mechanism:
env:
- name: DATADOG_AGENT_SERVICE_HOSTNAME
value: <your-datadog-deployment>.<your-namespace>.svc.cluster.local
Pass this as statsdHost