[METRICS] TimeMetric: introduce `record(Duration duration)` method

To integrate 3rd party metrics e.g. S3 SDK metrics.
5 files changed