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

StatHat uploader uses PostEZCount incorrectly #154

Open
akalin-keybase opened this issue Feb 19, 2016 · 0 comments
Open

StatHat uploader uses PostEZCount incorrectly #154

akalin-keybase opened this issue Feb 19, 2016 · 0 comments

Comments

@akalin-keybase
Copy link

PostEZCount expects a delta, but go-metrics gives it the total counter value.

A short-term fix would be to maintain a map from counters (interface { Count() int64 }) to latest uploaded value, and use that to calculate deltas.

This bug seems like it's been around for a while!

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

1 participant