blacklocus / metrics-cloudwatch

A reporter for codahale metrics to Amazon CloudWatch
Apache License 2.0
61 stars 27 forks source link

Counters: Incrementing and then decrementing results into negative value on cloudwatch. #19

Open htambekar opened 8 years ago

htambekar commented 8 years ago

Start a metric of type 'counter' let's say counter1. Increment counter1 twice so that value will be 2. Then decrement counter1 with same number of times i.e. 2.

Observation- Cloudwatch reports -2 instead of 0.