Looks like PrecisionTiming should still be passing delta, not calculating milliseconds at this point. The conversion appears to occur later. Since time.Duration is an int64, there is loss of precision here, so the value is always 0 if the delta is less than a millisecond. I tested this and I am seeing the correct values for milliseconds on payload to Statsd.
Looks like PrecisionTiming should still be passing delta, not calculating milliseconds at this point. The conversion appears to occur later. Since time.Duration is an int64, there is loss of precision here, so the value is always 0 if the delta is less than a millisecond. I tested this and I am seeing the correct values for milliseconds on payload to Statsd.