-
Notifications
You must be signed in to change notification settings - Fork 979
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buffered statsd lines are not published on close #2141
Comments
Isn't it the same issue as #1882 ? |
I can still repro this issue on |
#1882 fixed this for |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open. |
Thanks to the pull request from @BJMg we now have tests that reproduce this behavior and changes to fix it, which are now merged into all supported branches and is published in snapshots. It will be included in future releases for 1.10.16, 1.11.13, 1.12.9, 1.13.3, and 1.14.0. Folks who were affected by this, please try out snapshots to let us know if the issue is fixed for you now. |
This may well be misunderstanding on my part but is there any way to ensure all counters are updated on close?
Here is a minimal example of the problem:
If you spin up a simple udp server you'll see nothing is sent. This extends to if I add a sleep for a value more than
step()
, before or after closing. If I add a loop before closing where I increment the counter then sleep I start to get buffered messages across, but if not enough messages have been sent to clear the buffer by the last metrics are lost.Setting buffered in my config to false resolves the problem but the natural behave feels like flushing should occur on close.
The text was updated successfully, but these errors were encountered: