bitly / statsdaemon

an implementation of Etsy's statsd in Go
The Unlicense
570 stars 131 forks source link

Add a flag to match StatsD's config.deleteGauges knob. #58

Closed musl closed 9 years ago

musl commented 9 years ago

I ran into a case where I wanted to send a counter value (like a packet counter from a network interface) and wanted gauge('some.network.metric', value) to re-send the last value on flush. This pull request maintains the default behavior of statsdaemon, but adds a flag so that you can make statsdaemon re-send the previous gauge values on flush.

Thanks!

jehiah commented 9 years ago

see #62 for a change that adds the missing option.