Skip to content
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

ResettableCounter should return a rate per second #144

Closed
brharrington opened this issue Mar 28, 2013 · 0 comments
Closed

ResettableCounter should return a rate per second #144

brharrington opened this issue Mar 28, 2013 · 0 comments
Assignees

Comments

@brharrington
Copy link
Contributor

The current ResettableCounter implementation returns an accumulated count since the last reset. To better match the behavior of other Counter implementations and to be more usable with multiple pollers running at different frequencies it should return a rate per second since the last reset.

The slight complication here is that it implements Counter which is a Monitor and it really should return a double for the computed rate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants