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

Old-style check counters aren't getting cleared #240

Closed
conorbranagan opened this issue Oct 30, 2012 · 0 comments · Fixed by #245
Closed

Old-style check counters aren't getting cleared #240

conorbranagan opened this issue Oct 30, 2012 · 0 comments · Fixed by #245
Assignees

Comments

@conorbranagan
Copy link
Member

If you sample a counter at ts1 and ts2, the counter will continue to report for every check loop as the same value at ts2.

The correct behavior is we should clear all values except the last for a counter on each flush. Therefore if no values come in during the next check run, no value will be flushed. But if a new value does come in, the rate will still be calculated against the last one.

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

Successfully merging a pull request may close this issue.

1 participant