codahale/metrics — pull request #289 by mattnworb (2012-10-19 19:02:07+00:00)
Title: expose Sum field of Histogram and Timers as JMX attribute

Histograms maintain a Sum field which is used in calculating the Mean. The JmxReporter currently exposes just the Count and Mean fields.

It would be useful if the Sum was also exposed, for use in RRDTool-based monitoring systems where there is a desire to store the rate of change of the fields (Count and Sum) which can then be used to build charts of, for example, recent response times of API requests.