marpaia/graphite-golang — pull request #1 by mrtazz (2013-11-09 05:00:14+00:00)
Title: rename Increment to SimpleSend

I renamed the `Increment` method to `SimpleSend`. This now also provides an easy way to update a metric without having to create a struct and it also requires a value parameter to send, since 1 is rarely what you actually want to send to Graphite.

Background to this is that Graphite doesn't have any notion of "incrementing" a value. A stored value will always be overwritten when you send another value with the same timestamp. There is nothing getting incremented or added on the Graphite side. For this to work you would need some pre-aggregation proxy like StatsD or the [carbon aggregator](https://graphite.readthedocs.org/en/latest/carbon-daemons.html#carbon-aggregator-py)