Open akalin-keybase opened 8 years ago
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.
interface { Count() int64 }
This bug seems like it's been around for a while!
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!