Re: Metrics Web Console plugin always outputs Histograms as durations

2017-08-08 Thread Justin Edelson
On Tue, Aug 8, 2017 at 4:42 AM Chetan Mehrotra 
wrote:

> > 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
>
> Makes sense. Going forward we would need to see how to augment such
> meta info to metrics. So far seen 2 requirements
>
> 1. Metric Description - Some text to describe what the metric is all about
> 2. Unit - For Histograms
>

Do you have any thoughts on how this metric metadata can be managed? This
doesn't seem to be something natively supported, so I'm guessing we need to
do that in our wrapper.

Regards,
Justin


>
> Chetan Mehrotra
>


Re: Metrics Web Console plugin always outputs Histograms as durations

2017-08-08 Thread Chetan Mehrotra
> 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

Makes sense. Going forward we would need to see how to augment such
meta info to metrics. So far seen 2 requirements

1. Metric Description - Some text to describe what the metric is all about
2. Unit - For Histograms

Chetan Mehrotra


Metrics Web Console plugin always outputs Histograms as durations

2017-08-03 Thread Justin Edelson
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?