Refactor timer metric for name and 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 time unit to be modified by
the caller.