DataDog / java-dogstatsd-client

Java statsd client library
MIT License
176 stars 102 forks source link

clear buffers before returning to pool in v2.X #221

Closed andrewang-canva closed 1 year ago

andrewang-canva commented 1 year ago

On version 2.13.0 of the client, we noticed truncation of tags when metrics are sent during restart of the datadog agent. This was narrowed down to the issue #198 which was resolved in #200. However, we are not in a position to upgrade the datadog agent to 4.2.0 at this time.

This solution backports clear buffers from #200 into v2.X branch. Ultimately, we would like to see a v2.13.1 release to resolve this.

cc @vickenty

Cheers, Andrew

vickenty commented 1 year ago

Thank you!