DataDog / datadog-go

go dogstatsd client library for datadog
MIT License
353 stars 132 forks source link

refresh udp ip at some cadence #280

Open blakearnold opened 1 year ago

blakearnold commented 1 year ago

Forked https://github.com/DataDog/datadog-go/pull/264, but put the refresh in a separate go routine for performance.

The current UDP connection logic will resolve an address only when the writer is created. This is undesirable in cases where the address may change at a later point.

This should also fix https://github.com/DataDog/datadog-go/issues/263.

natenho commented 3 months ago

@AliDatadog @wdhif Is there any chance this PR will be included in a release?