go-metrics-graphite
go-metrics-graphite copied to clipboard
Counter does not reset on flush?
Unlike statsd, it looks like counter does not reset on every flush.
Is this expected?
I would also like to know if this is expected behavior.
+1 on this. I would expect the counter to reset and therefore have to write my own once per second sync function
@didip @dmowcomber @cyberdelia would we expect this behavior to perhaps be part of the Config struct or should it always clear a counter on flush?
Config struct is much better.
It would be a breaking change if it suddenly was resetting the counter. I think it should be defined in a config with it defaulting to false.
i agree completely. i'll try to get to this one because it really shouldn't be horrible. any ideas on the setting name? something like ResetCountersOnFlush
or something similar?
That's not bad, it's quite descriptive.
any updates on this issue ? @m1stermanager ? @dmowcomber ?
@buzzdan i never actually had the time to do this but feel free to take a stab. If I do get the time I wouldn't mind trying it but i'd be happy to see you beat me to it