Gauges persist the most recent value #2

Open
mojodna opened this Issue Oct 17, 2011 · 3 comments

Comments

Projects
None yet
1 participant
Owner

mojodna commented Oct 17, 2011

When a gauge hasn't been updated, its value should be reported as 0 rather than its most recent value.

Owner

mojodna commented Oct 17, 2011

Workaround: use a counter and graph it using nonNegativeDerivative

Owner

mojodna commented Jan 13, 2012

Alternately, figure out how to clear counters known to be gauges after each Graphite flush, potentially by subclassing Counter and overriding processWith(). A nice side-effect of that is that we'd end up with a concrete type for Gauges and can tell them apart more easily.

Owner

mojodna commented Apr 24, 2012

metrics 3.0.0 introduces a Gauge type (or so I understand), providing us with the ability to tell counters apart from gauges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment