-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Cloudwatch metrics are accumulating on every Send() call, but should be Reset #590
Comments
See PR #591 for a failing test case. |
I'm also not sure how the Histogram values are supposed to be reset. Furthermore, note that if we move the test to teststat.TestCounter(), more (but not all) services fail. The still-succesful tests show which implementations use Reset().Walk().
|
Histograms don't need to be reset. |
This is closed now, I think! :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On a call to cloudwatch.Send(), the state of the counter is not reset.
That means the value is always increasing.
This doesn't make sense to me, as Cloudwatch accumulates the values for you. It seems like we are basically implementing a counter with a Gauge-like behavior now.
Can we agree this is a bug?
The text was updated successfully, but these errors were encountered: