Refactor timer metric for name, duration unit, time unit customization

Update the timer metric to align with how meter metrics are recorded. This
allows for more consistent metric groupings when providing a customized
metric name. In addition, allow for the default duration and time unit to
be modified by the caller.