-
Notifications
You must be signed in to change notification settings - Fork 26
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
Counter never reset after flush, keeps incrementing #52
Comments
Fix is to add |
@bobzoller see above |
... or maybe it should have remained as a gauge? |
Yes, I think the correct thing is it should have stayed a gauge. Although it sounds right, increment shouldn't use counters, because counters are meant only for tracking the derivative of a monotonically increasing value (which you've done) and can't be used with server-side aggregation (which makes them useless for the normal increment case). https://www.librato.com/docs/kb/faq/glossary/whats_a_counter/ |
we went around on this back in #27 ... my intention is to treat librato-rack as the best practice, which is why |
I added a little console.log and reduced the flush period just to demonstrate the problem:
The text was updated successfully, but these errors were encountered: