Counters are used to count things.
|self.increment(…)||Used to modify a count of events identified by the metric key string:
|self.decrement(…)||Used to modify a count of events identified by the metric key string:
|self.monotonic_count(…)||Submit the sampled raw value of your counter. Don’t normalize the values to a rate, or calculate the deltas before submitting. If the value of your counter ever decreases between submissions the resulting stored value for that submission is 0:
|self.count(…)||Submit the number of events that occurred during the check interval. If you’re tracking a counter value that persists between checks, this means you must calculate the delta before submission:
|dog.increment(…)||Used to increment a counter of events:
|dog.decrement(…)||Used to decrement a counter of events:
See the DogStatsD-specific documentation for code examples.
as_count()becomes nonsensical when time aggregation is applied.
Additional helpful documentation, links, and articles: