segmentio / stats

Go package for abstracting stats collection
https://godoc.org/github.com/segmentio/stats
MIT License
208 stars 32 forks source link

statsd decrement counter #106

Open littlebee opened 5 years ago

littlebee commented 5 years ago

Hi! I need a counter that can be incremented and decremented across multiple processes and vms. It looks like datadog & statsd supports this (https://www.rubydoc.info/github/DataDog/dogstatsd-ruby/Datadog%2FStatsd:decrement)

It also looks like someone implemented this support for sementio/stats (https://github.com/segmentio/stats/commit/4270b1b65dae4e99c14ce9c56d441497f57d62b3) and it was tagged as part of v4.4.1, but I don't see any signs of it in master or in the v4.4.1 of segmentio/stats that I have locally.

Thanks in advance for the assist!