DataDog/dd-agent — pull request #30 by FabriceOllivier (2012-04-18 21:03:30+00:00)
Title: Monotonic rate counters (#23)

Make sure we are not reporting metric on a wrapped counter. This works only for increasing counters (not decreasing). An 'UnknownValue' exception is raised if the counter is decreasing, allowing the value not to be picked up at all by the agent.

Updated tests to reflect the change.