atlassian / gostatsd

An implementation of Etsy's statsd in Go with tags support
MIT License
383 stars 99 forks source link

Incremental gauge types #646

Open UserNoOne opened 11 months ago

UserNoOne commented 11 months ago

statsd support incremental gauges types rather then setting value we pass https://github.com/statsd/statsd/blob/master/docs/metric_types.md#gauges

gaugor:333|g

gaugor:-10|g

gaugor:+4|g

So if gaugor was 333, those commands would set it to 333 - 10 + 4, or 327

In gostatsd, I always see latest value(i.e. +4) instead of "327". Any plan to support similar feature in gostatsd as well ?