segmentio / stats

Go package for abstracting stats collection
https://godoc.org/github.com/segmentio/stats
MIT License
208 stars 32 forks source link

fix metric buffering #55

Closed achille-roussel closed 7 years ago

achille-roussel commented 7 years ago

Prateek reported a bug on v4, I tracked it down to an issue when a single serialized measure ends up being larger than the client buffer size.

This PR addresses the issue by making the following changes: