Hi @peterbourgon!
We are using statsd for metrics, and it seems we found a mismatch in time units between metrics/statsd.Timingand metrics.Timer.
Timer's ObserveDuration method calculate the elapsed time in seconds and passes it to the underlying Histogram's Observe method, that in case of statsd.Timing requires the parameter in milliseconds.
It would be nice to have the chance to specify the time unit measure for ObserveDuration in Timer constructor or at least to be compliant with the underlying method.
Hi @peterbourgon!
We are using statsd for metrics, and it seems we found a mismatch in time units between
metrics/statsd.Timingandmetrics.Timer.Timer's
ObserveDurationmethod calculate the elapsed time in seconds and passes it to the underlying Histogram'sObservemethod, that in case ofstatsd.Timingrequires the parameter in milliseconds.It would be nice to have the chance to specify the time unit measure for
ObserveDurationin Timer constructor or at least to be compliant with the underlying method.