In the Metrics WebConsole plugin, Histograms are always assumed to be
durations. I'm unclear why this would be desirable. I'm no expert in the
Metrics library, but as far as I can tell, Histograms don't have a defined
unit of measurement and it would actually be strange to use them to store a
duration (rather than the higher-level Timer type). It seems like there
shouldn't be any manipulation of the values for Histograms and we shouldn't
output a measurement unit. It would be nice if a metrics provider could
associate a unit with a Histogram, but that does not seem possible with the
current API.

WDYT?

Reply via email to